From 7a8b1e98a238591291fb92ca0c597f0e11ec8564 Mon Sep 17 00:00:00 2001 From: Sebastian Wiesner Date: Fri, 11 May 2012 14:52:11 +0200 Subject: [PATCH] Fix mkdcd: mkdir is no builtin command --- 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 1fc15e16..48e42be2 100644 --- a/modules/utility/init.zsh +++ b/modules/utility/init.zsh @@ -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