.aliases 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. #!/bin/mksh
  2. # begone, xfce4
  3. # you will be remembered
  4. # alias sx='startxfce4'
  5. alias a=alias
  6. # the necessary
  7. a vim=vis
  8. a v=vis
  9. a where='pwd'
  10. a rv=rover
  11. a please='fc -e "sed -i -e \"s/^/sudo /\""'
  12. a MOVE='fc -e "sed -i -e \"s/^mv/mkdirmv /\""'
  13. a shutdown='sudo shutdown'
  14. a reboot='sudo reboot'
  15. a poweroff='sudo poweroff'
  16. a clip='xclip -sel clip'
  17. a plic='xclip -sel clip -o'
  18. a l=ls
  19. a ll='ls -l'
  20. a lla='ls -la'
  21. # git
  22. a gb='git branch'
  23. a gs='git status'
  24. a gd='git diff'
  25. a ga='git add'
  26. a gl='git log'
  27. a gc='git commit'
  28. a gp='git pull'
  29. a gP='git push'
  30. a gf='git fetch'
  31. a gdc='git diff --cached'
  32. # the luxury stuff
  33. a {cc,cll,clear,clar,clea}=clear
  34. a h='head -n 15'
  35. a t='tail -n 15'
  36. a xi='sudo xbps-install'
  37. a xq='xbps-query'
  38. a xr='sudo xbps-remove'
  39. a tornewexitnode="(echo authenticate '""'; echo signal newnym; echo quit) | nc localhost 9050"
  40. a present='(${HOME}/packages/presentationterminal/st &> /dev/null &)'
  41. a s='(st 2> /dev/null &)'
  42. a e='(pcmanfm 2> /dev/null &)'
  43. a weather='curl wttr.in'
  44. a pull-latest="strlst -c pull -f $(date +%Y-%m).ms -s"
  45. a push-latest="strlst -c push -f $(date +%Y-%m).ms"
  46. a de-layout='setxkbmap de,at'
  47. a en-layout='setxkbmap us -variant intl'
  48. # fun
  49. a heart='printf "%b\n" "\xe2\x9d\xa4"'
  50. a worldline='echo 1.048596'
  51. a elpsykongroo='echo "El Psy Kongroo" | base64 | clip && plic'
  52. a month="echo $(date +%Y-%m)"
  53. # clutch
  54. #a optirun='LD_PRELOAD=/usr/lib/libGL.so __GLVND_DISALLOW_PATCHING=1 optirun'
  55. #a kid3-qt='(QT_SCALE_FACTOR=1 QT_AUTO_SCREEN_SCALE_FACTOR=0 kid3-qt &> /dev/null &)'
  56. a wpa_gui='(QT_SCALE_FACTOR=1.5 QT_AUTO_SCREEN_SCALE_FACTOR=0 wpa_gui &> /dev/null &)'
  57. a motherbaord='sudo dmidecode -t 2'
  58. a deflacd320='deflac . -b320 && rm *flac'
  59. # work
  60. . ${HOME}/.local/share/${USER}/.work-aliases
  61. # home
  62. . ${HOME}/.local/share/${USER}/.home-aliases