Browse Source

[#145] Complete directories for the mkdcd utility

master
Sorin Ionescu 13 years ago
parent
commit
31c5d6e334
  1. 2
      modules/utility/init.zsh

2
modules/utility/init.zsh

@ -20,7 +20,7 @@ alias pmine='ps -U "$USER" -o pid,%cpu,%mem,command' @@ -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…
Cancel
Save