diff options
author | Kevin Ballard <kevin@sb.org> | 2014-07-10 00:26:58 -0700 |
---|---|---|
committer | Kevin Ballard <kevin@sb.org> | 2014-07-13 19:11:29 -0700 |
commit | 533496e43ac4de68537b66412d54e880e03b6561 (patch) | |
tree | ed6bf5c69595aa0385ce8307d542feaae91e8c1b /share/functions/funced.fish | |
parent | 6f7a7459c1dadc88e793b558d5ce2668359e7bea (diff) |
Adopt the new type -q flag in the other functions
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 ca2e2772..074e3c43 100644 --- a/share/functions/funced.fish +++ b/share/functions/funced.fish @@ -51,7 +51,7 @@ function funced --description 'Edit function definition' if test -n "$editor" set -l editor_cmd eval set editor_cmd $editor - if not type -f "$editor_cmd[1]" >/dev/null + if not type -q -f "$editor_cmd[1]" _ "funced: The value for \$EDITOR '$editor' could not be used because the command '$editor_cmd[1]' could not be found " set editor fish |