Skip to content

Instantly share code, notes, and snippets.

@jburditt
Last active May 9, 2024 18:30
Show Gist options
  • Save jburditt/71b7267031fa91bdaa51e8cb0351ab3c to your computer and use it in GitHub Desktop.
Save jburditt/71b7267031fa91bdaa51e8cb0351ab3c to your computer and use it in GitHub Desktop.
Mac bash prompt
# \[\033[32m\] green
# \w working directory
# \[\033[0m\] default color
export PS1="\[\033[32m\]\w \[\033[0m\]$ "
# to edit .bash_profile on git for windows
# cd ~
# touch .bashrc
# vi .bashrc
# i #insert mode
# #paste the above script
# #type ESC :wq ENTER
# source .bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment