.aliases 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. alias screen='screen -U'
  2. alias lq='ls'
  3. alias ll='ls -l'
  4. alias l.='ls -a'
  5. alias lh='ls -lh'
  6. alias la='ls -A'
  7. alias lla='ls -lA'
  8. alias l='ls -CF'
  9. alias dfh='df -Ph'
  10. alias dh='du -h'
  11. alias rtfm='man'
  12. alias please='sudo'
  13. alias stxl='startx & logout'
  14. alias metapost='mpost'
  15. alias rexima="rexima -d /dev/mixer1 "
  16. alias 49.3="sudo history -p \!\!"
  17. alias ni='nice -n 19 ionice -c3'
  18. alias sl='sl -al'
  19. alias xclipass='function _xclipass(){ pass $1 | xclip -r;};_xclipass'
  20. #alias xclipass='pass $1 | xclip -r'
  21. alias gitlog='git log --stat --pretty=short --graph'
  22. #alias libreoffice='libreoffice --nosplash'
  23. #alias tuir='tuir.sh'
  24. alias open='xdg-open'
  25. #open () {
  26. # xdg-open "$@" &>/dev/null
  27. # }
  28. alias gqview='geeqie'
  29. alias vscode='code'
  30. alias mplayerhw2='mplayer -ao alsa:device=hw=2.0'
  31. alias mplayerhw3='mplayer -ao alsa:device=hw=3.0'
  32. alias valls='man'
  33. #alias gdb='gdb --tui'
  34. alias archives='/usr/bin/mutt -F ~/.muttrc.p4s'
  35. alias mutt='pushd ~/.mutt/attachments; mutt; popd'
  36. alias tmux='tmux -u'
  37. #specialized git command for dotfiles management
  38. alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
  39. #specialized tig for dotfiles
  40. alias tigdotfiles='tig -C $HOME/.cfg/'
  41. #alias vim='/usr/bin/vim --servername vimd'
  42. alias vimsn='vim-with-servername'
  43. vim-with-servername() {
  44. vim --servername 'vim' "$@"
  45. }
  46. alias vim=vimsn
  47. alias helix='hx'
  48. #alias :q="exit"
  49. #alias :wq="exit"
  50. alias :e="vim "
  51. alias :w="cowsay 'You are not in vim anymore.'"
  52. alias :q="cowsay 'You are not in vim anymore.'"
  53. alias :wq="cowsay 'You are not in vim anymore.'"
  54. alias :x="cowsay 'You are not in vim anymore.'"