2
0
Fork 0
mirror of https://github.com/fish-shell/fish-shell synced 2025-01-19 16:34:24 +00:00
fish-shell/share/functions/__fish_test_arg.fish

10 lines
207 B
Fish
Raw Normal View History

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