Misterio77 / flavours

🎨💧 An easy to use base16 scheme manager that integrates with any workflow.
MIT License
506 stars 28 forks source link

Error when starting new terminal instance #28

Closed augustebaum closed 3 years ago

augustebaum commented 3 years ago

After cargo install flavours, every time I start a new terminal instance:

/path/to/bin/flavours:1: no matches found: ^@^@^@^@^@^@^@__nl_symbol_ptr^@__DATA^@^@^@^@^@^@^@^@^@^@^@^P%^@^A^@^@^@^P^@^@^@^@^@^@^@^@^P%^@^C^@^@^@^@^@^@^@^@^@^@^@^F^@^@^@^?^@^@^@^@^@^@^@^@^@^@^@__got^@^@^@^@^@^@^@^@^@^@^@__DATA^@^@^@^@^@^@^@^@^@^@^P^P%^@^A^@^@^@^H^@^@^@^@^@^@^@^P^P%^@^C^@^@^@^@^@^@^@^@^@^@^@^F^@^@^@\M-^A^@^@^@^@^@^@^@^@^@^@^@__la_symbol_ptr^@__DATA^@^@^@^@^@^@^@^@^@^@^X^P%^@^A^@^@^@\M-x^C^@^@^@^@^@^@^X^P%^@^C^@^@^@^@^@^@^@^@^@^@^@^G^@^@^@\M-^B^@^@^@^@^@^@^@^@^@^@^@__const^@^@^@^@^@^@^@^@^@__DATA^@^@^@^@^@^@^@^@^@^@^P^T%^@^A^@^@^@\M-^H?^A^@^@^@^@^@^P^T%^@^C^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@__data^@^@^@^@^@^@^@^@^@^@__DATA^@^@^@^@^@^@^@^@^@^@\M-^XS
/path/to/bin/flavours:1: permission denied: 
/path/to/bin/flavours:1: permission denied: 
/path/to/bin/flavours:1: permission denied: 
/path/to/bin/flavours:1: permission denied: 
/path/to/bin/flavours:1: permission denied: 
/path/to/bin/flavours:1: permission denied: 
/path/to/bin/flavours:1: permission denied: 
[3] 61515
/path/to/bin/flavours:1: parse error near `&'
/path/to/bin/flavours:1: parse error in command substitution
/path/to/bin/flavours:1: command not found: \M-O\M-z\M-m\M-~^G
[3]  - exit 127        

Note that everything seems to work correctly apart from that. I am really not in a position to help with the fixing on my own but I'm happy to try things if I can help.

Misterio77 commented 3 years ago

Hey!

It's weird it runs (actually, it seems it is being sourced, not executed) when you open a terminal. Are you sourcing flavours anywhere on your .bashrc (or .zshrc), perhaps?

augustebaum commented 3 years ago

Correct, I had a weird source flavours in my .zshrc! That'll teach me to get to work before involving other causes. Thanks.