- more improvements to find(1) completion by Rodrigo Bernardo Pimentel
<rbp@isnomore.net>
This commit is contained in:
parent
c53efc189c
commit
05725fd9f9
@ -1,6 +1,6 @@
|
|||||||
# bash_completion - some programmable completion functions for bash 2.05b
|
# bash_completion - some programmable completion functions for bash 2.05b
|
||||||
#
|
#
|
||||||
# $Id: bash_completion,v 1.663 2003/12/15 18:54:17 ianmacd Exp $
|
# $Id: bash_completion,v 1.664 2003/12/15 18:57:49 ianmacd Exp $
|
||||||
#
|
#
|
||||||
# Copyright (C) Ian Macdonald <ian@caliban.org>
|
# Copyright (C) Ian Macdonald <ian@caliban.org>
|
||||||
#
|
#
|
||||||
@ -834,8 +834,14 @@ _find()
|
|||||||
COMPREPLY=( $( compgen -u -- $cur ) )
|
COMPREPLY=( $( compgen -u -- $cur ) )
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
|
-exec|-ok)
|
||||||
|
COMP_WORDS=(COMP_WORDS[0] $cur)
|
||||||
|
COMP_CWORD=1
|
||||||
|
_command
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
-[acm]min|-[acm]time|-?(i)?(l)name|-inum|-?(i)path|-?(i)regex| \
|
-[acm]min|-[acm]time|-?(i)?(l)name|-inum|-?(i)path|-?(i)regex| \
|
||||||
-links|-perm|-size|-used|-exec|-ok|-printf)
|
-links|-perm|-size|-used|-printf)
|
||||||
# do nothing, just wait for a parameter to be given
|
# do nothing, just wait for a parameter to be given
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user