From 3cbfa686ab701a060b59689b479fc5530a560aed Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Sat, 14 Apr 2012 20:27:05 -0400 Subject: [PATCH] [#145] Use builtin commands in the mkdcd utility --- modules/utility/init.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/utility/init.zsh b/modules/utility/init.zsh index 1e20087f..a0782374 100644 --- a/modules/utility/init.zsh +++ b/modules/utility/init.zsh @@ -18,7 +18,7 @@ alias pmine='ps -U "$USER" -o pid,%cpu,%mem,command' # Makes a directory and changes to it. function mkdcd { - [[ -n "$1" ]] && mkdir -p "$1" && cd "$1" + [[ -n "$1" ]] && builtin mkdir -p "$1" && builtin cd "$1" } compdef _mkdir mkdcd 2> /dev/null