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:
lapingenieur 2021-03-15 20:38:35 +01:00 committed by Fabian Homborg
parent 38cd373ca3
commit f95f12f5e7

View File

@ -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