Closed AndreasAugustin closed 1 year ago
Currently the generated completion contains invalid characters
☁ ~ go-gitmoji-cli completion zsh ____ ____ ____ _ ___ _ _ ____ _ _ ____ _ _ | __ | | __ | __ | | |\/| | | | | __ | | | |__] |__| |__] | | | | |__| _| | |___ |___ | #compdef go-gitmoji-cli compdef _go-gitmoji-cli go-gitmoji-cli # zsh completion for go-gitmoji-cli -*- shell-script -*- __go-gitmoji-cli_debug() { local file="$BASH_COMP_DEBUG_FILE"
The figlet is breaking the functionality
completions must work
The generated completion does not work
☁ ~ go-gitmoji-cli completion zsh > /tmp/completion ☁ ~ source /tmp/completion /tmp/completion:1: bad pattern: ^[[35m____
Currently the figlet is created within the root init() function. Somehow when caling go-gitmoji-cli completion zsh the figlet must not be called
go-gitmoji-cli completion zsh
No response
v0.1.0-alpha
Is there an existing issue for this?
Describe the bug
Currently the generated completion contains invalid characters
The figlet is breaking the functionality
Expected Behavior
completions must work
Current Behavior
The generated completion does not work
Steps To Reproduce
Possible Solution
Currently the figlet is created within the root init() function. Somehow when caling
go-gitmoji-cli completion zsh
the figlet must not be calledAdditional Information/Context
No response
go-gitmoji-cli Version
v0.1.0-alpha