2018-05-06 18:46:56 -05:00
|
|
|
# determine if this is the very first argument (regardless if switch or not)
|
|
|
|
function __fish_is_first_arg
|
2024-01-22 07:42:45 +01:00
|
|
|
set -l tokens (commandline -pxc)
|
2019-05-05 12:09:25 +02:00
|
|
|
test (count $tokens) -eq 1
|
2018-05-06 18:46:56 -05:00
|
|
|
end
|