Fix fish existing with PID active for fasd

This commit is contained in:
Colin Powell
2018-12-24 10:52:27 -05:00
parent a649d2942c
commit 9fc8b81fce
6 changed files with 20 additions and 5 deletions

View File

@ -1,4 +1,6 @@
function __fasd_run -e fish_preexec -d "fasd takes record of the directories changed into"
command fasd --proc (command fasd --sanitize "$argv") > "/dev/null" 2>&1 &
end
function __fasd_run -e fish_preexec -d "fasd takes record of the directories changed into"
if test $argv[1] != "exit"
command fasd --proc (command fasd --sanitize "$argv") > "/dev/null" 2>&1 &
end
end