Skip to content

Instantly share code, notes, and snippets.

@robert-moses
Created December 11, 2019 15:15
Show Gist options
  • Save robert-moses/14e361b5cd1af46a7b65d69e9365872b to your computer and use it in GitHub Desktop.
Save robert-moses/14e361b5cd1af46a7b65d69e9365872b to your computer and use it in GitHub Desktop.
my .bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
set TERM=xterm-256color
export TERM
[[ -f ~/.LESS_TERMCAP ]] && . ~/.LESS_TERMCAP
export GREP_OPTIONS='--color=auto'
export GREP_COLOR='00;38;5;226'
export LS_OPTS='--color=auto'
export LESS="--RAW-CONTROL-CHARS"
PATH=$PATH:$HOME/bin:/sbin:/usr/sbin:/usr/local/sbin
export PATH
#PS1="[\\u@\\H \W]$"
# Custom Prompt
PS1="\[$(tput bold)\]\[$(tput setaf 2)\][\u@\[$(tput setaf 1)\]\H\[$(tput setaf 2)\] \W]\\$ \[$(tput sgr0)\]"
export PS1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment