From 0808b1cf36cac422560dbe603b1996c5514060a4 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Thu, 17 Jul 2014 11:32:45 -0400 Subject: [PATCH] use "builtin" instead of "command" for shell builtins --- bash_aliases | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bash_aliases b/bash_aliases index 8285de8..dac3c82 100755 --- a/bash_aliases +++ b/bash_aliases @@ -74,9 +74,9 @@ PROMPT_COMMAND="prompt_command_change_terminal_title" # cd hooks ########################################################################### -function cd() { command cd "$@"; cd_hook; } -function pushd() { command pushd "$@"; cd_hook; } -function popd() { command popd "$@"; cd_hook; } +function cd() { builtin cd "$@"; cd_hook; } +function pushd() { builtin pushd "$@"; cd_hook; } +function popd() { builtin popd "$@"; cd_hook; } function cd_hook_cat_todo() {