Skip to content

@mxcl /.profile
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
My Bash .profile file
#!/bin/bash
alias ..="cd .."
alias ls="ls -p"
alias la="ls -lA"
alias l="ls -l"
alias ll="ls -l"
alias psf="ps -cU `whoami`"
alias grep="grep --color=auto"
alias cack="ack --cpp"
alias aack="ack --all"
alias cd-='cd /svn/clientside/trunk/desktop'
GRC=`which grc 2> /dev/null`
if [ "$TERM" != dumb ] && [ -n "$GRC" ]
then
alias colourify="$GRC -es --colour=auto"
alias configure='colourify ./configure'
alias diff='colourify diff'
alias make='colourify make'
alias gcc='colourify gcc'
alias g++='colourify g++'
alias as='colourify as'
alias gas='colourify gas'
alias ld='colourify ld'
alias netstat='colourify netstat'
alias ping='colourify ping'
alias traceroute='colourify /usr/sbin/traceroute'
fi
GREEN="\[\033[1;32m\]"
RESET="\[\033[0m\]"
export PS1="\h $GREEN\W$RESET\$ "
case `uname` in
Darwin)
export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad;;
CYGWIN_NT-5.1)
alias open=cygstart
alias ls='ls --color=auto';;
Linux)
alias ls='ls --color=auto';;
esac
export HISTSIZE=10000
export HISTFILESIZE=10000
export HISTCONTROL=ignoredups
export EDITOR=vim
shopt -s histappend
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.