From 40fbb52355fb8f4cbfb0f13a4278622de1a6776f Mon Sep 17 00:00:00 2001 From: eneller Date: Fri, 17 May 2024 23:32:46 +0200 Subject: [PATCH] fix: git-home, git-root --- .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