Skip to content

Instantly share code, notes, and snippets.

@zanematthew
Created September 28, 2011 17:58
Show Gist options
  • Save zanematthew/1248680 to your computer and use it in GitHub Desktop.
Save zanematthew/1248680 to your computer and use it in GitHub Desktop.
Basic Bash Profile
######
#
# NOTE, you must reload your profile for these changes to take effect
# [your name ~] source .bash_profile
# color codes: http://www.funtoo.org/en/articles/linux/tips/prompt/
#
######
######
#
# Get the aliases and functions
#
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
######
#
# 2011-05-01
# Change prompt to the following:
# [USER@HOST cwd] time
#
PS1='\[\e[01;35m\][\u@\h \w] \t $\[\e[0m\] '
umask 0002
######
#
# User specific environment and startup programs
#
PATH=$PATH:$HOME/bin
EDITOR=nano
export PATH EDITOR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment