Add vim-like exist aliases

This commit is contained in:
ItsDrike 2021-11-14 20:54:54 +01:00
parent 2446789d25
commit 82f60713d4
No known key found for this signature in database
GPG key ID: FB8CA11A2CF3A843

View file

@ -220,6 +220,12 @@ alias yta-best='youtube-dl --extract-audio --audio-format best'
alias yta-mp3='youtube-dl --extract-audio --audio-format mp3' alias yta-mp3='youtube-dl --extract-audio --audio-format mp3'
alias yta-wav='youtube-dl --extract-audio --audio-format wav' alias yta-wav='youtube-dl --extract-audio --audio-format wav'
# Terminal vim-like exits, in case I think the terminal is vim
alias :q='exit'
alias :q!='exit'
alias :wq='exit'
alias :wq!='exit'
# Shell aliases # Shell aliases
alias reload="exec \$SHELL" # Reload the shell (i.e. invoke as a login shell) alias reload="exec \$SHELL" # Reload the shell (i.e. invoke as a login shell)
alias path='echo -e ${PATH//:/\\n}' # Print each PATH entry on a separate line alias path='echo -e ${PATH//:/\\n}' # Print each PATH entry on a separate line