diff options
author | Fabian Homborg <FHomborg@gmail.com> | 2015-07-17 11:31:45 +0200 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2015-07-19 17:22:09 -0700 |
commit | 616d848faccb75e5301e105aabc86c8681814812 (patch) | |
tree | 2b757638378e0fad4aafbe868057de7d7ea3291b /share/functions/funced.fish | |
parent | a4b17b162cbe3d196aa87886c2407abe1e22712e (diff) |
Add .fish suffix to funced's tempfile name
This allows editors (like emacs) to pick up on the fact that it's a fish script.
Diffstat (limited to 'share/functions/funced.fish')
-rw-r--r-- | share/functions/funced.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/functions/funced.fish b/share/functions/funced.fish index 88688b13..e9248f87 100644 --- a/share/functions/funced.fish +++ b/share/functions/funced.fish @@ -81,7 +81,7 @@ function funced --description 'Edit function definition' return 0 end - set tmpname (mktemp -t fish_funced.XXXXXXXXXX) + set tmpname (mktemp -t fish_funced.XXXXXXXXXX.fish) if functions -q -- $funcname functions -- $funcname > $tmpname |