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
5b6cc5af6d5531f6fa3506da4e4b11cc6b60fca5
fish-shell/share/functions/__fish_is_first_token.fish

17 lines
284 B
Fish
Raw Normal View History

Move a few more shellscript functions to their own files darcs-hash:20060212131421-ac50b-861f8941af76cf9a1e6fb7da2ac7f33795fab272.gz
2006-02-12 23:14:21 +10:00
function __fish_is_first_token -d 'Test if no non-switch argument has been specified yet'
reformat all fish scripts I hate doing this but I am tired of touching a fish script as part of some change and having `make style` radically change it. Which makes editing fish scripts more painful than it needs to be. It is time to do a wholesale reformatting of these scripts to conform to the documented style as implemented by the `fish_indent` program.
2016-11-27 21:27:22 -08:00
set cmd (commandline -poc)
set -e cmd[1]
for i in $cmd
switch $i
case '-*'
case '*'
return 1
end
end
return 0
Move a few more shellscript functions to their own files darcs-hash:20060212131421-ac50b-861f8941af76cf9a1e6fb7da2ac7f33795fab272.gz
2006-02-12 23:14:21 +10:00
end
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 103ms Template: 2ms
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