mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 23:24:39 +00:00
701b7450df
This fixes the completions in btrfs command | btrfs <TAB> See #8060
5 lines
178 B
Fish
5 lines
178 B
Fish
# determine if this is the very first argument (regardless if switch or not)
|
|
function __fish_is_first_arg
|
|
set -l tokens (commandline -poc)
|
|
test (count $tokens) -eq 1
|
|
end
|