mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-23 05:38:01 +00:00
14 lines
187 B
Plaintext
14 lines
187 B
Plaintext
#
|
|
# Changes the directory to the n previous one.
|
|
#
|
|
# Authors:
|
|
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
|
#
|
|
|
|
if [[ "$1" == [[:digit:]]## ]]; then
|
|
builtin cd "+$1"
|
|
else
|
|
return 127
|
|
fi
|
|
|