[feature] more sensible auto-cd logic

This commit is contained in:
Klesh Wong 2021-03-31 14:40:41 +08:00
parent c6813f657c
commit 9181d28481

View File

@ -59,7 +59,7 @@ if status is-interactive
~/.profile.fish ~/.profile.fish
# === auto cd into last activated directory # === auto cd into last activated directory
test -z "$TMUX" && cd $last_pwd test "$PWD" = "$HOME" && cd $last_pwd
if test -n "$TMUX" if test -n "$TMUX"
function ssh function ssh