My .bash_profile

.bash_profile, .profile, .bash_rc …

if [ "$PS1" != "" ]; then
    PROMPT_COMMAND='echo -ne "\033]0;${HOSTNAME}: ${PWD}\007"'
    PS1="[\e[1;33m\u::${HOSTNAME} \t\[\e[1;35m\e[0m\]]$ "
fi
 
alias ls='ls -G'
alias ll='ls -l'
alias la='ll -a'
alias env='env | sort'
alias ..='cd ..'
alias :e=vim
alias grepr='grep -rHn'
# finds and removes the ._ files that textmate creates
alias findmatefiles='find . -name ._*'
alias rmmatefiles='find . -name ._* -exec rm {} \;'
 
export DEVROOT=~/dev/
export HISTFILE=$HOME/.bash_history
export HISTSIZE=5000
export PATH=$HOME/bin:/Applications/MAMP/bin:/Applications/MAMP/Library/bin:/home/y/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/y/sbin:/sbin:/usr/sbin:/usr/local/sbin:/usr/local/mysql/bin:.
export GREP_OPTIONS='--color=auto'
 
setenv () { export $1="$2"; }
unsetenv () { unset $*; }

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">