Skip to content

Conversation

@AtifChy
Copy link
Contributor

@AtifChy AtifChy commented Aug 25, 2024

#1197

This pull request introduces completion for zsh. I've customized the python script originally used to generate fish shell completion to generate zsh completion.

@CarterLi
Copy link
Member

How can I test it?

@AtifChy
Copy link
Contributor Author

AtifChy commented Aug 25, 2024

How can I test it?

fpath=(repos/fastfetch/completions $fpath)

you may need to also run autoload -Uz compinit && compinit

then run fastfetch <TAB>

@CarterLi
Copy link
Member

@AtifChy
Copy link
Contributor Author

AtifChy commented Aug 25, 2024

  • _fastfetch should be renamed to fastfetch.zsh

but this is how zsh completion files are named

@CarterLi
Copy link
Member

The file can be renamed when installing

@AtifChy
Copy link
Contributor Author

AtifChy commented Aug 25, 2024

done

@CarterLi CarterLi merged commit 773b8db into fastfetch-cli:dev Aug 25, 2024
@CarterLi
Copy link
Member

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants