sxiii

ArchLinux .bashrc Aliases Automation (SW installation, etc.)

Jan 16th, 2013
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.85 KB | None | 0 0
  1. # This text should be added somewhere in your ~/.bashrc
  2. # After you add this text, please re-login or restart your PC.
  3. # It will help you to run some programs like gedit, leafpad fast,
  4. # as long as install applications faster and it gives you fast
  5. # access to some of my favourite online rock radio stations.
  6. # For example, to install mplayer, type "i mplayer", then you
  7. # can play Absolute Radio in FLAC with "ar" command. :)
  8. # Feel free to take it and improve. Add comments with your suggestions.
  9. # P. S. This file is intended to use with Arch Linux or any distro that has
  10. # Pacman package manager. You will have to edit it a little if using another distro,
  11. # so have a look at http://distrowatch.com/dwres.php?resource=package-management
  12. # January 2013 by Security XIII at Gmail Dot Com
  13. #######################################################################
  14. ########### BEGIN SECURITY XIII's AUTOMATION ALIASES ##################
  15. #######################################################################
  16.  
  17. # RADIO 42FM.RU AUTOMATION
  18. alias rv192='mplayer -cache 2000 http://listen.42fm.ru:8000/stealkill.m3u'
  19. alias rv128='mplayer -cache 2000 http://listen.42fm.ru:8000/stealkill-128.m3u'
  20. alias rv96='mplayer -cache 2000 http://listen.42fm.ru:8000/stealkill-96.m3u'
  21. alias rv='mplayer -cache 2000 http://listen.42fm.ru:8000/stealkill-8.0.ogg'
  22. alias rv5='mplayer -cache 2000 http://listen.42fm.ru:8000/stealkill-5.0.ogg'
  23. alias rv3='mplayer -cache 2000 http://listen.42fm.ru:8000/stealkill-3.0.ogg'
  24. alias rv1='mplayer -cache 2000 http://listen.42fm.ru:8000/stealkill-1.0.ogg'
  25. alias rvaac='http://listen.42fm.ru:8000/stealkill.aacplus'
  26.  
  27. # ABSOLUTE RADIO AUTOMATION
  28. alias ar='mplayer -cache 4000 http://network.absoluteradio.co.uk/core/audio/oggflac/live.pls?service=ar'
  29. alias a8='mplayer -cache 4000 http://network.absoluteradio.co.uk/core/audio/oggflac/live.pls?service=a8'
  30. alias a9='mplayer -cache 4000 http://network.absoluteradio.co.uk/core/audio/oggflac/live.pls?service=a9'
  31. alias a0='mplayer -cache 4000 http://network.absoluteradio.co.uk/core/audio/oggflac/live.pls?service=a0'
  32. alias ac='mplayer -cache 4000 http://network.absoluteradio.co.uk/core/audio/oggflac/live.pls?service=ac'
  33.  
  34. # EMERGENCY KILL MPLAYER AUTOMATION
  35. alias ao='kill $(pidof mplayer)'
  36.  
  37. # COMFORTABLE INSTALLATION ALIASES
  38. alias s='sudo pacman -Ss' # use s to search applications
  39. alias i='sudo pacman -S' # use i to install applications
  40. alias r='sudo pacman -r' # use r to remove applications
  41. alias u='sudo pacman -Syyu' # use u to update your repos and system accordingly
  42.  
  43. # OTHER COMFORTABLE ALIASES FOR LAZY PERSONS LIKE ME :)
  44.  
  45. alias g='gedit'
  46. alias l='leafpad'
  47. alias h='htop'
  48.  
  49. #######################################################################
  50. ########### END SECURITY XIII's AUTOMATION ALIASES ####################
  51. #######################################################################
Advertisement
Add Comment
Please, Sign In to add comment