mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-02-13 04:40:59 +01:00
Update themes/agnoster.zsh-theme
This commit is contained in:
@@ -146,7 +146,7 @@ git_toplevel() {
|
||||
# We are in a bare repo. Use git dir as root
|
||||
repo_root=$(git rev-parse --git-dir)
|
||||
if [[ $repo_root = '.' ]]; then
|
||||
repo_root=$(pwd)
|
||||
repo_root=$PWD
|
||||
fi
|
||||
fi
|
||||
echo -n $repo_root
|
||||
|
||||
Reference in New Issue
Block a user