all repos — nixfiles @ 73b97eeca1ed318f65cb3c63ab2b788b35fa15ca

System and user configuration, managed by nix and home-manager

reformat existing fish completions

Alin
commit

73b97eeca1ed318f65cb3c63ab2b788b35fa15ca

parent

b2e77c2c6aa2d7fffd506eaee33cbf1d3e805960

2 files changed, 11 insertions(+), 2 deletions(-)

changed files
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')"