Skip to content

Commit d9f1db1

Browse files
committed
Completions (Fish): disable enum value suggestion
1 parent bb10e1c commit d9f1db1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

completions/fish

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,7 @@ string match -r -a -g "^###> ?(.*)" < (status -f) | string collect | python3 | s
8585
###> elif type == 'config':
8686
###> print(f'{command_prefix} -x -a "(__fastfetch_complete_config)"')
8787
###> elif type == 'enum':
88-
###> temp: str = ' '.join(map(lambda x: f"{x[0]}\\t{x[1]}", flag["arg"]["enum"].items()))
89-
###> print(f'{command_prefix} -x -a "{temp}"')
88+
###> print(f'{command_prefix} -x -a "{' '.join(flag["arg"]["enum"])}"')
9089
###> elif type == 'logo':
9190
###> print(f'{command_prefix} -x -a "(__fastfetch_complete_logo)"')
9291
###> elif type == 'structure':

0 commit comments

Comments
 (0)