1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-06-30 11:20:27 +00:00

[#145] Complete directories for the mkdcd utility

This commit is contained in:
Sorin Ionescu 2012-04-14 20:27:32 -04:00
parent 3cbfa686ab
commit 31c5d6e334

View File

@ -20,7 +20,7 @@ alias pmine='ps -U "$USER" -o pid,%cpu,%mem,command'
function mkdcd {
[[ -n "$1" ]] && builtin mkdir -p "$1" && builtin cd "$1"
}
compdef _mkdir mkdcd 2> /dev/null
compdef '_path_files -/' mkdcd 2> /dev/null
# Changes to a directory and lists its contents.
function cdll {