From bdf0f1edb59cc8c3ea78fc1c788255d2310f5b5f Mon Sep 17 00:00:00 2001 From: Jorge Bucaran Date: Sat, 9 Apr 2016 11:33:58 +0900 Subject: [PATCH] No overriding getopts via plugins. Close #191 --- functions/__fisher_plugin_walk.fish | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/functions/__fisher_plugin_walk.fish b/functions/__fisher_plugin_walk.fish index aee5b2e..b6bd661 100644 --- a/functions/__fisher_plugin_walk.fish +++ b/functions/__fisher_plugin_walk.fish @@ -5,6 +5,10 @@ function __fisher_plugin_walk -a plugin path set -l name (basename $file .fish) set -l base $name.fish + if test "$name" = "getopts" + continue # See #191 + end + debug "file %s" $file switch $file