Make terminal open in the directory of active directory

This commit is contained in:
Jonathan Hodgson 2018-05-01 09:44:57 +01:00
parent d1ac6da0ba
commit 64e9ff9fa4
4 changed files with 37 additions and 7 deletions

View file

@ -91,6 +91,6 @@ TRAPWINCH(){
zle && {zle reset-prompt; zle -R}
}
if [ -f ~/.current-folder ] && [ ! $TMUX ]; then
\cd "$(cat ~/.current-folder)"
fi
#if [ -f ~/.current-folder ] && [ ! $TMUX ]; then
# \cd "$(cat ~/.current-folder)"
#fi