mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 20:16:12 +08:00
changed 'rm' to 'command rm'
if rm is aliased to 'rm -i' then rm will ask to delete the cache file after funced edited the file which is anoying
This commit is contained in:
parent
38cd373ca3
commit
f95f12f5e7
|
@ -130,7 +130,7 @@ function funced --description 'Edit function definition'
|
|||
end
|
||||
|
||||
set -l stat $status
|
||||
rm $tmpname >/dev/null
|
||||
command rm $tmpname >/dev/null
|
||||
and rmdir $tmpdir >/dev/null
|
||||
return $stat
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user