mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 17:55:50 +08:00
10 lines
207 B
Fish
10 lines
207 B
Fish
|
|
||
|
function __fish_test_arg --description "Test if the token under the cursor matches the specified wildcard"
|
||
|
switch (commandline -ct)
|
||
|
case $argv
|
||
|
return 0
|
||
|
end
|
||
|
return 1
|
||
|
end
|
||
|
|