Update themes/agnoster.zsh-theme

This commit is contained in:
Carlo Sala 2025-02-12 20:33:02 +01:00 committed by GitHub
commit ac4d8b2bfb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -146,7 +146,7 @@ git_toplevel() {
# We are in a bare repo. Use git dir as root # We are in a bare repo. Use git dir as root
repo_root=$(git rev-parse --git-dir) repo_root=$(git rev-parse --git-dir)
if [[ $repo_root = '.' ]]; then if [[ $repo_root = '.' ]]; then
repo_root=$(pwd) repo_root=$PWD
fi fi
fi fi
echo -n $repo_root echo -n $repo_root