Completions (Fish): disable enum value suggestion

This commit is contained in:
李通洲
2024-05-20 19:05:38 +08:00
parent bb10e1c9a3
commit d9f1db10aa
+1 -2
View File
@@ -85,8 +85,7 @@ string match -r -a -g "^###> ?(.*)" < (status -f) | string collect | python3 | s
###> elif type == 'config':
###> print(f'{command_prefix} -x -a "(__fastfetch_complete_config)"')
###> elif type == 'enum':
###> temp: str = ' '.join(map(lambda x: f"{x[0]}\\t{x[1]}", flag["arg"]["enum"].items()))
###> print(f'{command_prefix} -x -a "{temp}"')
###> print(f'{command_prefix} -x -a "{' '.join(flag["arg"]["enum"])}"')
###> elif type == 'logo':
###> print(f'{command_prefix} -x -a "(__fastfetch_complete_logo)"')
###> elif type == 'structure':