>From de3d2721b9fc0765fabed52d9997a95f5ecdb1e9 Mon Sep 17 00:00:00 2001 From: Frank Dittrich Date: Mon, 11 Jun 2012 12:20:34 +0200 Subject: [PATCH] Fix bash completion for input and output redirection (<, >, 2>...) --- run/john.bash_completion | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/run/john.bash_completion b/run/john.bash_completion index 5fc9431..ccc7387 100644 --- a/run/john.bash_completion +++ b/run/john.bash_completion @@ -550,12 +550,11 @@ _john() return 0 ;; *) - _filedir return 0 ;; esac } && -complete -F _john john +complete -o bashdefault -o default -F _john john # unique ## have grep && have sed && @@ -606,9 +605,8 @@ _unique() return 0 ;; _*) - _filedir return 0 ;; esac } && -complete -F _unique unique +complete -o bashdefault -o default -F _unique unique -- 1.7.7.6