From dcccfe2f68fcaf14f15dff859372563dd4e93e29 Mon Sep 17 00:00:00 2001 From: Michael Yagudaev Date: Tue, 14 Jan 2014 22:33:25 -0800 Subject: [PATCH] added line to retain current working directories when a new tab is opened in the terminal --- template/bash_profile.template.bash | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/template/bash_profile.template.bash b/template/bash_profile.template.bash index 60cac9ea..bf770fcd 100644 --- a/template/bash_profile.template.bash +++ b/template/bash_profile.template.bash @@ -37,7 +37,11 @@ export TODO="t" # Set vcprompt executable path for scm advance info in prompt (demula theme) # https://github.com/xvzf/vcprompt -#export VCPROMPT_EXECUTABLE=~/.vcprompt/bin/vcprompt +# export VCPROMPT_EXECUTABLE=~/.vcprompt/bin/vcprompt # Load Bash It source $BASH_IT/bash_it.sh + +# Retain current working directory when opening a new tab +# https://github.com/revans/bash-it/issues/240 +# export PROMPT_COMMAND="$PROMPT_COMMAND;update_terminal_cwd;" \ No newline at end of file