From ba9b87d9f25c52f4234eaaa9db74dc191d44786a Mon Sep 17 00:00:00 2001 From: ianmacd <> Date: Wed, 6 Feb 2002 17:41:06 +0000 Subject: [PATCH] make -name, -lname, -iname & -ilname complete on files in _find() and change default completion from -o default to -o filenames --- bash_completion | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bash_completion b/bash_completion index 5bda7654..fafa88d8 100644 --- a/bash_completion +++ b/bash_completion @@ -2,7 +2,7 @@ # # # @@ -397,7 +397,7 @@ _find() COMPREPLY=( $( compgen -W '0 1 2 3 4 5 6 7 8 9' ) ) return 0 ;; - -?(a)newer|-fls|-fprint?(0|f)) + -?(a)newer|-fls|-fprint?(0|f)|-?(i)?(l)name) COMPREPLY=( $( compgen -f $ncur ) ) return 0 ;; @@ -476,7 +476,7 @@ _find() return 0 } -complete -F _find -o default find +complete -F _find -o filenames find # Linux ifconfig(8) completion #