Skip to content

Commit

Permalink
Completion (Fish): fix compatibility for old python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
CarterLi committed May 22, 2024
1 parent 59c853f commit a3dbac7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion completions/fish
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ 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':
###> print(f'{command_prefix} -x -a "{' '.join(flag["arg"]["enum"])}"')
###> temp: str = ' '.join(flag["arg"]["enum"])
###> print(f'{command_prefix} -x -a "{temp}"')
###> elif type == 'logo':
###> print(f'{command_prefix} -x -a "(__fastfetch_complete_logo)"')
###> elif type == 'structure':
Expand Down

0 comments on commit a3dbac7

Please sign in to comment.