From 58db58efd3e6ea39db36be64b613197a915777f2 Mon Sep 17 00:00:00 2001 From: Nathan Broadbent Date: Sun, 21 Oct 2012 11:29:50 +1300 Subject: [PATCH] Use redefined cd when switching between projects, to run rbenv, rvmrc, etc. --- lib/git/repo_index.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/git/repo_index.sh b/lib/git/repo_index.sh index 82159a1..4ebdb7b 100644 --- a/lib/git/repo_index.sh +++ b/lib/git/repo_index.sh @@ -108,7 +108,7 @@ function git_index() { if [[ "$base_path" == "~"* ]]; then base_path=$(eval echo ${base_path%%/*})/${base_path#*/} fi - builtin cd "$base_path" + cd "$base_path" # Run git callback (either update or show changes), if we are in the root directory if [ -z "${sub_path%/}" ]; then _git_index_status_if_dirty; fi else