mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 23:24:39 +00:00
Make sure the rm command and not a wrapper function that could change its behaviour is used. This patch was written by David Bitseff.
darcs-hash:20061212122853-ac50b-4f3c9962bc6daed95c8f53a19af05bc3d924eac7.gz
This commit is contained in:
parent
234034d302
commit
d3dd9400e3
1 changed files with 1 additions and 1 deletions
|
@ -48,6 +48,6 @@ function psub -d (N_ "Read from stdin into a file and output the filename. Remov
|
|||
end
|
||||
|
||||
# Make sure we erase file when caller exits
|
||||
eval function $funcname --on-job-exit caller\; rm $filename\; functions -e $funcname\; end
|
||||
eval function $funcname --on-job-exit caller\; command rm $filename\; functions -e $funcname\; end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue