Commit 9992fdb1 authored by Nicholas Chambers's avatar Nicholas Chambers 👻

Add a simple prompt

parent 4b3fc806
......@@ -51,6 +51,8 @@ export EDITOR="nano -zSET 2"
export PAGER=less
export LESSHISTFILE=-
export HISTCONTROL=ignoreboth
export SIMPLE_PROMPT=enable
export VISUAL=subl
if [[ -d ~/.rvm && -s ~/.rvm/scripts/rvm ]]; then
. ~/.rvm/scripts/rvm
......@@ -132,14 +134,17 @@ fi
###
PROMPT_COMMAND='tput sgr0'
PS1='$(red "[\u@\h")$(purple :)$(green "\w"])'
if [[ -v holiday ]]; then
PS1+='$holiday '
elif [[ $HOSTNAME = pod-@(101294|150341) ]]; then
PS1+='🎉 '
if [[ $SIMPLE_PROMPT = enable ]]; then
PS1='[\u@\h:\w]λ '
else
PS1+='$(purple \$) '
PS1='$(red "[\u@\h")$(purple :)$(green "\w"])'
if [[ -v holiday ]]; then
PS1+='$holiday '
else
PS1+='$(purple \$) '
fi
fi
###
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment