From f95f12f5e7fc5da915ca9cc35879d5718bffe6be Mon Sep 17 00:00:00 2001 From: lapingenieur Date: Mon, 15 Mar 2021 20:38:35 +0100 Subject: [PATCH] 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 --- share/functions/funced.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/funced.fish b/share/functions/funced.fish index 394a0daf6..5d7df3271 100644 --- a/share/functions/funced.fish +++ b/share/functions/funced.fish @@ -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