From ac4d8b2bfb38bf875c6a0b6ff0b3e74b372de8e5 Mon Sep 17 00:00:00 2001 From: Carlo Sala Date: Wed, 12 Feb 2025 20:33:02 +0100 Subject: [PATCH] Update themes/agnoster.zsh-theme --- themes/agnoster.zsh-theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/agnoster.zsh-theme b/themes/agnoster.zsh-theme index 953f71b5b..67db2cf46 100644 --- a/themes/agnoster.zsh-theme +++ b/themes/agnoster.zsh-theme @@ -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