Hello, I wanted to switch from bash to zsh, I found that recommended way is to edit the profile in Ptyxis by adding /usr/bin/zsh. Doing this makes me use zsh, but it does not integrate with all the tools brought by bluefin-cli, for example I can’t bring up atuin. I tried disabling and re-enabling bluefin-cli but I get nothing, the script also reports that I’m still using bash. I tried also to run “sudo usermod --shell /usr/bin/zsh ” as suggested in How to change the default shell? but it didn’t change my results.
Just few days ago I did doing this kind of setup without changing the default shell as the bluefin docs recommendation. I did it:
- I put
SHELL=/usr/bin/zsh
inside my.zshrc
file - Set my default terminal as
zsh
from the terminal emulator config - Run the
ujust bluefin-cli
command
Q: How could I come up with this solution?
A: I checked the just
command of bluefin-cli
it is using SHELL env
to detect the terminal, so I just override the env
from .zshrc
file, that’s it
It works! Thanks. Is it normal that going from bash to zsh i lose prompt personalizations? I mean that I now have [user@host]~% in plain white, while when switching back to bash I have a cool green color in the prompt and also it tells me things like the name of the git repo I’m in, the python or rust version a project is using, ecc.
it’s because of the bash
is using starship, you could put eval "$(starship init zsh)"
at the end of your .zshrc
file and your terminal will now looks like the bash
version!!!
you could check out the starship documentation for more: starship guide
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.