[feature] more sensible auto-cd logic
This commit is contained in:
parent
c6813f657c
commit
9181d28481
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user