Add `-` alias for `cd -`

Taken with love from `oh-my-zsh`
main
Michael Hoang 3 years ago committed by Kaleb Elwert
parent 357ce2ebbf
commit 97f36e9402

@ -25,5 +25,6 @@ unsetopt CLOBBER # Do not overwrite existing files with > and >>.
# Aliases
#
alias -- -='cd -'
alias d='dirs -v'
for index ({1..9}) alias "$index"="cd +${index}"; unset index

Loading…
Cancel
Save