Skip to content

Instantly share code, notes, and snippets.

@horus
Created September 9, 2009 13:51
Show Gist options
  • Save horus/183726 to your computer and use it in GitHub Desktop.
Save horus/183726 to your computer and use it in GitHub Desktop.
# shell prompt
PS1='\[\e[1m\][\u@\h \w]\[\e[0m\]$ '
# terminal title
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
# environment variables
export HISTSIZE=1000
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
export EDITOR=ee
# custom ls output
export LSCOLORS=ExGxFxdxCxegedabagExEx
export CLICOLOR=yes
# history search
bind '"\e[A": history-search-backward'
bind '"\e[B": history-search-forward'
# aliases
alias l='ls -lAFh'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment