fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Johannes AltmanningerMark private functions that don't need localizationa53db7256

master
384 B6 linesraw
1# localization: skip(private)
2# TODO: This function is deprecated. It was used in fish_clipboard_paste
3# which some users copied, so maybe leave it around for a few years.
4function __fish_commandline_is_singlequoted --description "Return 0 if the current token has an open single-quote"
5    string match -q 'single*' (__fish_tokenizer_state -- (commandline -ct | string collect))
6end