From 9767b768817231413ef8d46373bff25c0242a9ad Mon Sep 17 00:00:00 2001 From: axel Date: Wed, 20 Dec 2006 01:24:43 +1000 Subject: [PATCH] Fix minor type in 'find' completions darcs-hash:20061219152443-ac50b-989d374683f181a5fc41d162f2a0793ca31227ac.gz --- share/completions/find.fish | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/share/completions/find.fish b/share/completions/find.fish index 2bcd5b7cd..5ffa5fc07 100644 --- a/share/completions/find.fish +++ b/share/completions/find.fish @@ -71,12 +71,13 @@ complete -c find -o size -d (N_ "File uses specified units of space") -r complete -c find -o true -d (N_ "Always true") set -l type_comp 'b\t"Block device" c\t"Character device" d\t"Directory" p\t"Named pipe" f\t"File" l\t"Symbolic link" s\t"Socket"' + complete -c find -o type -d (N_ "File is of specified type") -x -a $type_comp complete -c find -o uid -d (N_ "File's owner has specified numeric user ID") -r complete -c find -o used -d (N_ "File was last accessed specified number of days after its status was last changed") -r complete -c find -o user -d (N_ "File's owner") -a "(__fish_complete_users)" -r -complete -c find -o xtype -d (N_ "Check type of file - in case of symlink, check the file that is not checked by -type") -x $type_comp +complete -c find -o xtype -d (N_ "Check type of file - in case of symlink, check the file that is not checked by -type") -x -a $type_comp complete -c find -o context -d (N_ "File's security context matches specified pattern") -r