use "builtin" instead of "command" for shell builtins
This commit is contained in:
parent
e658839a68
commit
0808b1cf36
@ -74,9 +74,9 @@ PROMPT_COMMAND="prompt_command_change_terminal_title"
|
|||||||
# cd hooks
|
# cd hooks
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
|
||||||
function cd() { command cd "$@"; cd_hook; }
|
function cd() { builtin cd "$@"; cd_hook; }
|
||||||
function pushd() { command pushd "$@"; cd_hook; }
|
function pushd() { builtin pushd "$@"; cd_hook; }
|
||||||
function popd() { command popd "$@"; cd_hook; }
|
function popd() { builtin popd "$@"; cd_hook; }
|
||||||
|
|
||||||
function cd_hook_cat_todo()
|
function cd_hook_cat_todo()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user