Created
April 29, 2019 15:22
-
-
Save Jomik/524fea9916f4a32abe3300253d8c5be2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function __fasd_init -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 &; disown | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is definitely causing the problem described on IRC;
eval echo "$argv"
will certainly cause the behaviour.