Skip to content
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

colors are not interpreted #1

Open
massipasquesi opened this issue Mar 5, 2018 · 2 comments
Open

colors are not interpreted #1

massipasquesi opened this issue Mar 5, 2018 · 2 comments
Labels
known issue problem already known

Comments

@massipasquesi
Copy link
Member

Problem :
colors are not interpreted and printed as is.
Example :

# git++ help
\e[0;33mAvailable commands:\e[0m
  \e[0;32mhelp        \t\e[0mPrint HELP for a command
  \e[0;32mlist        \t\e[0mList all availables commands
  \e[0;32mversion     \t\e[0mManage Semantic Version (with git tags)
  \e[0;32mhello       \t\e[0mcustom command example (Hello World :)

Issue:
Probably you bash version is older than the required version 4.2
Verify with :
# bash --version
And if is < 4.2 install a more recent version of bash.

@massipasquesi massipasquesi added the known issue problem already known label Mar 5, 2018
@massipasquesi
Copy link
Member Author

massipasquesi commented Mar 5, 2018

On OSX with brew :
brew install bash

@massipasquesi
Copy link
Member Author

To add new bash to your shells and use it:
http://clubmate.fi/upgrade-to-bash-4-in-mac-os-x/#Configure_terminal_to_use_it

# Add the new shell to the list of allowed shells
sudo bash -c 'echo /usr/local/bin/bash >> /etc/shells'
# Change to the new shell
chsh -s /usr/local/bin/bash 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
known issue problem already known
Projects
None yet
Development

No branches or pull requests

1 participant