Skip to content

Instantly share code, notes, and snippets.

@janetriley
Created January 17, 2014 03:24
Show Gist options
  • Save janetriley/8467872 to your computer and use it in GitHub Desktop.
Save janetriley/8467872 to your computer and use it in GitHub Desktop.
Added this to RailsBridge vm .bashrc
## UNCOMMENTED THIS:
# 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
## CHANGED THE COLOR PROMPT TO SAY RailsBridge VM WITH COLORS
if [ "$color_prompt" = yes ]; then
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\][RailsBridge VM]\[\033[00m\] \[\033[01;34m\]\w\[\033[00m\]\$ '
else
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi
unset color_prompt force_color_prompt
## ADDED THIS:
### cd to workspace - students forget this
echo "Changing directory to the shared ~/workspace folder for your convenience."
cd ~/workspace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment