Closed hubefonseca closed 2 years ago
Forgot to mention that I am using iterm 2, but the result is the same on the classical terminal
I think it's a restricted command now
On Mon, Aug 15, 2022, 3:01 PM Hubert Fonseca @.***> wrote:
Forgot to mention that I am using iterm 2, but the result is the same on the classical terminal
[image: image] https://user-images.githubusercontent.com/30186/184708741-c5215dc9-1f52-4b2e-9913-37b8edd25b89.png
— Reply to this email directly, view it on GitHub https://github.com/twolfson/sexy-bash-prompt/issues/95#issuecomment-1215730818, or unsubscribe https://github.com/notifications/unsubscribe-auth/AISPXO544RWIZPJYEEUWE3LVZKO3HANCNFSM56TKB4RA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
@hubefonseca It's likely your default shell is zsh
and not bash
. You can confirm this via echo $SHELL
I've verified I get this behavior if I use zsh
and source .bash_prompt
in Docker sandbox:
You can change the iTerm shell via a profile with a custom shell for /bin/bash
https://stackoverflow.com/a/65041741/1960509
You could use a broader change like chsh
but that feels riskier if there are system level scripts which assume zsh
instead of bash
.
If you start receiving a bash
deprecation notice from macOS, this can be silenced via: export BASH_SILENCE_DEPRECATION_WARNING=1
in your .bash_profile
Hi!
I tried to install using the command line, but it does not display correctly, as shown on the image below: