-
Notifications
You must be signed in to change notification settings - Fork 661
Change the default prompt color from green to lime #433
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
5383eea
to
4aca0e1
Compare
This comment has been minimized.
This comment has been minimized.
37d23e9
to
7ccfd2e
Compare
Only do this for the "default" linux distribution Signed-off-by: Anders F Björklund <[email protected]>
7ccfd2e
to
72a8c37
Compare
Thanks, but this doesn't seem to work with the default configuration of tmux (version 3.2a)? (Adding |
Hmm, it shouldn't be any different from the previous (ubuntu) setup ? What is the tmux invocation for lima ? Maybe related to:
/usr/share/doc/tmux/example_tmux.conf That should match You should not get any color prompt at all when using e.g. Ubuntu only supports # set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
xterm-color|*-256color) color_prompt=yes;;
esac
# uncomment for a colored prompt, if the terminal has the capability; turned
# off by default to not distract the user: the focus in a terminal window
# should be on the output of commands, not on the prompt
#force_color_prompt=yes /etc/skel/.bashrc So should be a nice monochrome ? |
Maybe, just |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I probably would have appended the new logic at the end, overwriting the default prompt when needed. That would be somewhat more robust for future Ubuntu upgrades, that might break this patch. But we can also change to that approach if/when that happens.
Closes #427