mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 06:05:39 +08:00
test completions: we accept floats now
This commit is contained in:
parent
8d0e1f3bcc
commit
7d79d326b5
|
@ -6,14 +6,14 @@ complete -c test -f -s a -d "Logical AND"
|
|||
complete -c test -f -s o -d "Logical OR"
|
||||
complete -c test -f -s n -d "String length is non-zero"
|
||||
complete -c test -f -s z -d "String length is zero"
|
||||
complete -c test -f -a = -d "Strings are equal"
|
||||
complete -c test -f -a != -d "Strings are not equal"
|
||||
complete -c test -f -o eq -d "Integers are equal"
|
||||
complete -c test -f -o ge -d "Left integer larger than or equal to right integer"
|
||||
complete -c test -f -o gt -d "Left integer larger than right integer"
|
||||
complete -c test -f -o le -d "Left integer less than or equal to right integer"
|
||||
complete -c test -f -o lt -d "Left integer less than right integer"
|
||||
complete -c test -f -o ne -d "Left integer not equal to right integer"
|
||||
complete -c test -f -a = -d "Strings are identical"
|
||||
complete -c test -f -a != -d "Strings are not identical"
|
||||
complete -c test -f -o eq -d "Numbers are equal"
|
||||
complete -c test -f -o ge -d "Left number >= right number"
|
||||
complete -c test -f -o gt -d "Left number > right number"
|
||||
complete -c test -f -o le -d "Left number <= right number"
|
||||
complete -c test -f -o lt -d "Left number < right number"
|
||||
complete -c test -f -o ne -d "Left number != right number"
|
||||
# builtin test does not do these
|
||||
#complete -c test -o ef -d "Left file equal to right file"
|
||||
#complete -c test -o nt -d "Left file newer than right file"
|
||||
|
|
Loading…
Reference in New Issue
Block a user