public
Last active

  • Download Gist
end of bash profile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116
##
# Your previous /Users/john_t_krueger/.profile file was backed up as /Users/john_t_krueger/.profile.macports-saved_2010-02-25_at_10:01:22
##
 
# MacPorts Installer addition on 2010-02-25_at_10:01:22: adding an appropriate PATH variable for use with MacPorts.
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.
 
for a in local $(ls /opt/ | grep -v local | grep -v gentoo); do
FULLPATH=/opt/$a
if [ -x $FULLPATH ]; then
if [ -x $FULLPATH/bin ]; then
export PATH="$FULLPATH/bin:$PATH"
fi
if [ -x $FULLPATH/sbin ]; then
export PATH="$FULLPATH/sbin:$PATH"
fi
if [ -x $FULLPATH/share/aclocal ]; then
export ACLOCAL_FLAGS="-I $FULLPATH/share/aclocal $ACLOCAL_FLAGS"
fi
if [ -x $FULLPATH/man ]; then
export MANPATH="$FULLPATH/man:$MANPATH"
fi
if [ -x $FULLPATH/share/man ]; then
export MANPATH="$FULLPATH/share/man:$MANPATH"
fi
if [ -x $FULLPATH/lib/pkgconfig ]; then
export PKG_CONFIG_PATH="$FULLPATH/lib/pkgconfig/:$PKG_CONFIG_PATH"
fi
fi
done
 
if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then source "$HOME/.rvm/scripts/rvm" ; fi
 
 
# ~/.bashrc: executed by bash(1) for non-login shells.
 
export PS1='\u@\h:\w$ '
umask 022
 
##########################################
#setting up file completion
#
 
if [ -f ~/.bash_completion ];
then
. ~/.bash_completion;
fi
 
##########################################
# advanced prompt settings
#
 
if [ -f ~/.bash_styles ];
then
. ~/.bash_styles old;
fi
 
#export TERM='xterm-color'
#export NNTPSERVER='news.unina.it'
export EDITOR='pico'
 
PATH="/usr/local/bin:/usr/include:${PATH}"
export PATH
 
############################################
# You may uncomment the following lines if you want `ls' to be colorized:
#
 
export CLICOLOR='true'
export LSCOLORS="gxfxcxdxbxegedabagacad"
 
###########################################
# set up aliases
#
 
alias ll='ls -lagh'
alias l='ls -lagh'
alias grep='grep -n'
alias netconns='netstat -a -f inet'
alias cd..='cd ..'
alias ..='cd ..'
alias work='cd ~/working'
alias dl='cd /volumes/hd4/" downloads"'
alias d4='cd /volumes/hd4'
alias cls='clear'
# alias vi='vim'
# alias c++='g++'
# alias cc='gcc'
#
# Some more alias to avoid making mistakes:
# alias rm='rm -i'
# alias cp='cp -i'
# alias mv='mv -i'
alias ttop='top -ocpu -R -F -s 2 -n30'
 
############################################
# some aliases to set fancy prompts
# see .bash_prompt for further informations
#
 
if [ -f ~/.bash_styles ];
then
alias dumb='. ~/.bash_styles dumb'
alias ice='. ~/.bash_styles ice'
alias fire='. ~/.bash_styles fire'
alias nature='. ~/.bash_styles nature'
alias sunshine='. ~/.bash_styles sunshine'
alias dream='. ~/.bash_styles dream'
alias magic='. ~/.bash_styles magic'
alias testp='. ~/.bash_styles testp'
alias old='. ~/.bash_styles old'
fi
source /sw/bin/init.sh
 
if [[ -s /Users/john_t_krueger/.rvm/scripts/rvm ]] ; then source /Users/john_t_krueger/.rvm/scripts/rvm ; fi

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.