mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-27 03:13:37 +08:00
701b7450df
This fixes the completions in btrfs command | btrfs <TAB> See #8060
6 lines
178 B
Fish
6 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
|