1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2026-02-15 05:40:57 +01:00

Update themes/agnoster.zsh-theme

This commit is contained in:
Carlo Sala
2025-02-12 20:33:02 +01:00
committed by GitHub
parent b7920c7433
commit ac4d8b2bfb

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