Logo
Explore Help
Sign In
h/fish-shell
1
Fork 0
You've already forked fish-shell
mirror of https://github.com/fish-shell/fish-shell.git synced 2026-04-29 00:21:14 -03:00
Code Issues Packages Projects Releases Wiki Activity
Files
a317a6acd9839e55bcbf55b122bd1619d22a5efa
fish-shell/share/functions/__fish_is_switch.fish

5 lines
126 B
Fish
Raw Normal View History

Update yarn completions Don't attempt to complete against package names if the user is trying to enter a switch to speed things up. Also work around #5267 by not wrapping unfiltered `all-the-package-name` calls in a function.
2018-10-19 17:45:02 -05:00
# Whether or not the current token is a switch
function __fish_is_switch
Reformat all files This runs build_tools/style.fish, which runs clang-format on C++, fish_indent on fish and (new) black on python. If anything is wrong with the formatting, we should fix the tools, but automated formatting is worth it.
2019-05-05 12:09:25 +02:00
string match -qr -- '^-' ""(commandline -ct)
Update yarn completions Don't attempt to complete against package names if the user is trying to enter a switch to speed things up. Also work around #5267 by not wrapping unfiltered `all-the-package-name` calls in a function.
2018-10-19 17:45:02 -05:00
end
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 179ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API