From 27efed44fae0f4dd8029787251cb4beeac4fcc04 Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Fri, 27 Apr 2018 14:38:44 +0100 Subject: [PATCH] Make zshrc use build in cd rather than alias when opening new terminal --- shells/zsh/zshrc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/shells/zsh/zshrc b/shells/zsh/zshrc index 6ed75ea4..beb694f4 100644 --- a/shells/zsh/zshrc +++ b/shells/zsh/zshrc @@ -92,6 +92,5 @@ TRAPWINCH(){ } if [ -f ~/.current-folder ] && [ ! $TMUX ]; then - cd "$(cat ~/.current-folder)" - clear + \cd "$(cat ~/.current-folder)" fi