fix: git-home, git-root

This commit is contained in:
eneller
2024-05-17 23:32:46 +02:00
parent 534ce4aa31
commit 40fbb52355
2 changed files with 2 additions and 2 deletions

View File

@@ -7,5 +7,5 @@ path=$(git rev-parse --show-toplevel);
if [ $# -eq 0 ]; then if [ $# -eq 0 ]; then
echo "$path"; echo "$path";
else else
cd $path && exec "$@"; cd $path && eval "$@";
fi fi

View File

@@ -10,5 +10,5 @@ fi
if [ $# -eq 0 ]; then if [ $# -eq 0 ]; then
echo "$path"; echo "$path";
else else
cd $path && exec "$@"; cd $path && eval "$@";
fi fi