mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-09 12:11:20 -03: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:
committed by
Fabian Homborg
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
|
||||
|
||||
Reference in New Issue
Block a user