reformat existing fish completions
2 files changed, 11 insertions(+), 2 deletions(-)
M user/settings/fish/completions/ecpenv.fish → user/settings/fish/completions/ecpenv.fish
@@ -1,1 +1,5 @@ -complete -c ecpenv -x -d "Environment variable" -a "(set -x | string replace ' ' \t'Exported variable')" +complete \ + --complete ecpenv \ + --exclusive \ + --description "Environment variable" \ + --arguments "(set -x | string replace ' ' \t'Exported variable')"
M user/settings/fish/completions/esetenv.fish → user/settings/fish/completions/esetenv.fish
@@ -1,1 +1,6 @@ -complete -c esetenv -n "__fish_is_nth_token 1" -x -d "Environment variable" -a "(set -x | string replace ' ' \t'Exported variable')" +complete \ + --command esetenv \ + --condition "__fish_is_nth_token 1" \ + --exclusive \ + --description "Environment variable" \ + --arguments "(set -x | string replace ' ' \t'Exported variable')"