Skip to content

Instantly share code, notes, and snippets.

@jaycody
Last active November 8, 2017 02:34
Show Gist options
  • Save jaycody/9497665 to your computer and use it in GitHub Desktop.
Save jaycody/9497665 to your computer and use it in GitHub Desktop.
.bash-prompt
'''
____________COMMAND LINE PROMPT______________________
\d: Date
\h: Host computers name (eg NewTron.local)
\n: Newline
\t: Time
\u: Username
\W: Current working directory
\w: Full path to current directory
'''
#2017_10
## prompt for Newtron MBP:
export PS1='\[\033[0;37m\][\[\033[0;34m\]\u \[\033[0;31m\]\H \[\033[0;32m\]\w\[\033[0;37m\]]\[\033[0m\] $ '
#################
# 2017_11
## prompt for minitron mac mini
##___SET PROMPT________
export PS1='\[\033[0m\]\u \[\033[0;31m\]\H \[\033[0;32m\]\W\[\033[0;37m\]\[\033[0m\] '
##___SET COLOR_________
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
#Date and Time and Current Directory (colored blue)
#export PS1="\[\e[36;40m\]\d \t \w/ \\$ \[\e[0m\]"
#Date and Time and Current Directory
#export PS1="\d \t \w/ \\$ \[\e[0m\]"
#prompt from padopolis:
#export PS1="\H:\w \u\$ "
#prompt of times gone by:
#export PS1="\[\e[36;40m\]\d \t \w/ \\$ \[\e[0m\]"
#prompt experiments
#export PS1='====> \H'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment