fish-shell/share/functions/__fish_test_arg.fish
axel 76d9051605 Add vim completions, written by Velko Hristov
darcs-hash:20070130004233-ac50b-5c48b940b29ac4f3c377bc88e2abf2e490e9df48.gz
2007-01-30 10:42:33 +10:00

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