From 562491d53a316fa27f078bb4fcc269b7cc3997f4 Mon Sep 17 00:00:00 2001 From: eneller Date: Wed, 17 Apr 2024 10:00:27 +0200 Subject: [PATCH] fix: git-home, git-root eval --- .local/bin/git-home | 2 +- .local/bin/git-root | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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