Skip to content

Instantly share code, notes, and snippets.

@s-belichenko
Created October 25, 2018 08:37
Show Gist options
  • Save s-belichenko/f5b0c05606ba8c2444c2cc07db48779e to your computer and use it in GitHub Desktop.
Save s-belichenko/f5b0c05606ba8c2444c2cc07db48779e to your computer and use it in GitHub Desktop.
Colored prompt for vagrant user in CentOS
# echo "==> Colored prompt"
echo "force_color_prompt=yes" >> /home/vagrant/.bashrc
echo "color_prompt=yes" >> /home/vagrant/.bashrc
echo "PS1='\t \[\033[02;32m\]\u@\H:\[\033[02;34m\][\w]\$\[\033[00m\] '" >> /home/vagrant/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment