Debian Codegraph @

ondir_prompt_hook.fish

raw symbols SCIP
1 # copy this file to ~/.config/fish/functions
2 function ondir_prompt_hook --on-event fish_prompt
3 if test ! -e "$OLDONDIRWD"; set -g OLDONDIRWD /; end;
4 if [ "$OLDONDIRWD" != "$PWD" ]; eval (ondir $OLDONDIRWD $PWD); end;
5 set -g OLDONDIRWD "$PWD";
6 end