diff --git a/.local/bin/git-home b/.local/bin/git-home index aa7c58e..8b04262 100755 --- a/.local/bin/git-home +++ b/.local/bin/git-home @@ -7,5 +7,5 @@ path=$(git rev-parse --show-toplevel); if [ $# -eq 0 ]; then echo "$path"; else - cd $path && exec "$@"; + cd $path && eval "$@"; fi diff --git a/.local/bin/git-root b/.local/bin/git-root index d91c1ef..104032e 100755 --- a/.local/bin/git-root +++ b/.local/bin/git-root @@ -10,5 +10,5 @@ fi if [ $# -eq 0 ]; then echo "$path"; else - cd $path && exec "$@"; + cd $path && eval "$@"; fi