[#145] Complete directories for the mkdcd utility
This commit is contained in:
parent
3cbfa686ab
commit
31c5d6e334
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ alias pmine='ps -U "$USER" -o pid,%cpu,%mem,command'
|
||||||
function mkdcd {
|
function mkdcd {
|
||||||
[[ -n "$1" ]] && builtin mkdir -p "$1" && builtin cd "$1"
|
[[ -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.
|
# Changes to a directory and lists its contents.
|
||||||
function cdll {
|
function cdll {
|
||||||
|
|
Loading…
Reference in a new issue