[#145] Complete directories for the mkdcd utility
This commit is contained in:
parent
3cbfa686ab
commit
31c5d6e334
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue