mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 13:39:02 +00:00
Fix minor type in 'find' completions
darcs-hash:20061219152443-ac50b-989d374683f181a5fc41d162f2a0793ca31227ac.gz
This commit is contained in:
parent
0ace93c2a4
commit
9767b76881
1 changed files with 2 additions and 1 deletions
|
@ -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")
|
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"'
|
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 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 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 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 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
|
complete -c find -o context -d (N_ "File's security context matches specified pattern") -r
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue