fish: fix last-working-dir function
This commit is contained in:
@ -1,7 +1,3 @@
|
||||
if status --is-interactive; and test -d $LAST_WORKING_DIR; and test $PWD = $HOME
|
||||
cd $LAST_WORKING_DIR
|
||||
end
|
||||
|
||||
function lwd
|
||||
cd $LAST_WORKING_DIR
|
||||
end
|
||||
@ -9,4 +5,3 @@ end
|
||||
function __onpwd --on-variable PWD
|
||||
set --universal LAST_WORKING_DIR $PWD
|
||||
end
|
||||
# __onpwd
|
||||
|
Reference in New Issue
Block a user