mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-30 14:53:11 +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
|