.bash_aliases 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. # -*-sh-*-
  2. # .bash_aliases - My command line shortcuts
  3. #
  4. # Written in 2017 by Caleb Herbert <csh@bluehome.net>
  5. #
  6. # To the extent possible under law, the author(s) have dedicated all
  7. # copyright and related and neighboring rights to this software to the
  8. # public domain worldwide. This software is distributed without any
  9. # warranty.
  10. #
  11. # You should have received a copy of the CC0 Public Domain Dedication
  12. # along with this software. If not, see
  13. # <http://creativecommons.org/publicdomain/zero/1.0/>.
  14. # Sprunge - a pipeable pastebin
  15. alias sprunge='curl -F "sprunge=<-" http://sprunge.us'
  16. # List networks
  17. alias networks='iw dev wlp2s0 scan | grep "SSID:" | sed "s/SSID://g"'
  18. # Use protection! :P
  19. alias condom='torsocks'
  20. # Fuck vi
  21. alias vi='emacs -nw'
  22. alias vim='emacsclient -c'
  23. # So I don't have to type the whole command during a phone call
  24. alias X='ssh csh@bluehome.net rm -f ~/public_html/files/attachments.zip'
  25. # Watch Jupiter Broadcasting live stream
  26. alias jblive='mpv rtmp://jblive.videocdn.scaleengine.net/jb-live/play/jblive.stream'
  27. # Party like it's 1992
  28. alias WINDOWS="startx"
  29. alias windows="startx"