Add previous directory alias

The slightly wonky syntax is needed to instruct the shell that the
passed `-` is not a command flag, but a literal string.
master
Jordan Atwood 2 years ago
parent 4f01f5e155
commit 70f11860d2
Signed by: nightfirecat
GPG Key ID: 615A619C2D73A6DF
  1. 1
      src/.bashrc

@ -101,6 +101,7 @@ alias nohup='nohup >/dev/null &>/dev/null'
# simple shortcuts
alias aliases='alias -p'
alias -- -='cd -'
alias h='history'
alias j='jobs -l'
alias which='type -a'

Loading…
Cancel
Save