Fix minor type in 'find' completions

darcs-hash:20061219152443-ac50b-989d374683f181a5fc41d162f2a0793ca31227ac.gz
This commit is contained in:
axel 2006-12-20 01:24:43 +10:00
parent 0ace93c2a4
commit 9767b76881

View file

@ -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