- option completion for find had mysteriously disappeared
This commit is contained in:
parent
6b07a70a56
commit
fa1f6acfd3
@ -1,6 +1,6 @@
|
||||
# bash_completion - some programmable completion functions for bash 2.05b
|
||||
#
|
||||
# $Id: bash_completion,v 1.428 2002/10/05 09:48:48 ianmacd Exp $
|
||||
# $Id: bash_completion,v 1.429 2002/10/05 21:33:03 ianmacd Exp $
|
||||
#
|
||||
# Copyright (C) Ian Macdonald <ian@caliban.org>
|
||||
#
|
||||
@ -732,7 +732,14 @@ _find()
|
||||
fi
|
||||
|
||||
# complete using basic options
|
||||
COMPREPLY=( $( compgen -W '${keywords[@]}' ) )
|
||||
COMPREPLY=( $( compgen -W '-daystart -depth -follow -help -maxdepth \
|
||||
-mindepth -mount -noleaf -version -xdev -amin -anewer \
|
||||
-atime -cmin -cnewer -ctime -empty -false -fstype \
|
||||
-gid -group -ilname -iname -inum -ipath -iregex \
|
||||
-links -lname -mmin -mtime -name -newer -nouser \
|
||||
-nogroup -perm -regex -size -true -type -uid -used \
|
||||
-user -xtype -exec -fls -fprint -fprint0 -fprintf -ok \
|
||||
-print -print0 -printf -prune -ls' -- $cur ) )
|
||||
|
||||
# this removes any options from the list of completions that have
|
||||
# already been specified somewhere on the command line.
|
||||
|
Loading…
x
Reference in New Issue
Block a user