Browse Source

Remove a wrong builtin call in mkdcd

mkdir is not a builtin command.
master
Sebastian Wiesner 13 years ago committed by Sorin Ionescu
parent
commit
84a6c19c2b
  1. 2
      modules/utility/init.zsh

2
modules/utility/init.zsh

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

Loading…
Cancel
Save