Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use redefined cd when switching between projects, to run rbenv, rvmrc…

…, etc.
  • Loading branch information...
commit 58db58efd3e6ea39db36be64b613197a915777f2 1 parent adef82a
@ndbroadbent authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/git/repo_index.sh
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.