From d163b6412078fe614db566b3615ef61925021094 Mon Sep 17 00:00:00 2001 From: Mike Lewis Date: Mon, 20 Feb 2023 17:05:21 -0700 Subject: [PATCH] Restore upstream `set_git_prompt_dir` This function was renamed upstream, but the rename was clobbered during rebase. --- gitprompt.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gitprompt.sh b/gitprompt.sh index f23a134..e3a735d 100755 --- a/gitprompt.sh +++ b/gitprompt.sh @@ -18,8 +18,7 @@ function async_run_zsh() { } -function git_prompt_dir() { - # assume the gitstatus.sh is in the same directory as this script +function set_git_prompt_dir() { # code thanks to http://stackoverflow.com/questions/59895 if [ -z "$__GIT_PROMPT_DIR" ]; then __GIT_PROMPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )