1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-01-18 12:06:04 +00:00

Merge pull request #375 from jab/patch-1

rm -f $eval_script
This commit is contained in:
Vladimir Iakovlev 2015-10-03 10:24:39 +08:00
commit 11c133523a

View File

@ -134,7 +134,7 @@ class Fish(Generic):
" set -l fucked_up_command $history[1]\n"
" thefuck $fucked_up_command > $eval_script\n"
" . $eval_script\n"
" rm $eval_script\n"
" /bin/rm $eval_script\n"
" if test $exit_code -ne 0\n"
" history --delete $fucked_up_command\n"
" end\n"