diff --git a/cli/fish/config.fish b/cli/fish/config.fish index 5d3cd59..feaf471 100644 --- a/cli/fish/config.fish +++ b/cli/fish/config.fish @@ -59,7 +59,7 @@ if status is-interactive ~/.profile.fish # === auto cd into last activated directory - test -z "$TMUX" && cd $last_pwd + test "$PWD" = "$HOME" && cd $last_pwd if test -n "$TMUX" function ssh