Migrate from zsh to fish

This commit is contained in:
2024-03-18 17:04:37 +01:00
parent fdd53faa62
commit b35c87b4d6
7 changed files with 112 additions and 7 deletions

View File

@ -0,0 +1,12 @@
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
function __onpwd --on-variable PWD
set --universal LAST_WORKING_DIR $PWD
end
# __onpwd