Switch fasd distro #fishshell
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
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
|
||||
function __fasd_run -e fish_postexec -d "fasd takes record of the directories changed into"
|
||||
set -lx RETVAL $status
|
||||
if test $RETVAL -eq 0 # if there was no error
|
||||
command fasd --proc (command fasd --sanitize (eval echo "$argv") | tr -s " " \n) > "/dev/null" 2>&1 &
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user