Created
January 29, 2013 23:40
-
-
Save ashrithr/4669077 to your computer and use it in GitHub Desktop.
my profile file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# #export PATH=$PATH:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin | |
# export HADOOP_HOME=/Users/Ashrith/HADOOP/hadoop-0.20.203.0/ | |
# export JAVA_HOME=$(/usr/libexec/java_home) | |
# export PATH=$PATH:$HADOOP_HOME/bin | |
# export PATH=$PATH:/Users/Ashrith/HADOOP/elastic-mapreduce-cli/ | |
# export PATH=$PATH:/Users/Ashrith/HADOOP/csshX-0.74/ | |
# | |
# PATH="/Library/Frameworks/Python.framework/Versions/3.2/bin:${PATH}" | |
# PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}" | |
# export PATH | |
# | |
# export EC2_HOME=~/.ec2 | |
# export PATH=$PATH:$EC2_HOME/bin | |
# export EC2_PRIVATE_KEY=`ls $EC2_HOME/pk-*.pem` | |
# export EC2_CERT=`ls $EC2_HOME/cert-*.pem` | |
# Finished adapting your PATH environment variable for use with MacPorts. | |
alias ll='ls -al' | |
alias mate='open -a TextMate.app' | |
alias finder='open -a Finder.app' | |
alias mate='subl -w' | |
alias grep='grep --color' | |
#SSH THROUGH ANOTHER SYSTEM | |
# alias ssh_namenode='ssh -t [email protected] ssh [email protected]' | |
# alias ssh_namenode2='ssh -t [email protected] ssh [email protected]' | |
# alias ssh_backup='ssh -t [email protected] ssh [email protected]' | |
#SSH PORT FORWARDING | |
# alias ssh_port1='ssh -L 7976:192.168.1.94:50070 [email protected]' | |
# alias ssh_port2='ssh -L 7977:192.168.1.95:50030 [email protected]' | |
# alias ssh_port3='ssh -L 7979:192.168.1.96:50030 [email protected]' | |
alias ls='ls -G' | |
export CLICOLOR=1 | |
#export LSCOLORS=ExFxCxDxBxegedabagacad | |
#PS1='\[\033[01;32m\]\u@macbookpro\033[00m\]:\[\033[01;34m\]\W\[\033[00m\]\$ ' | |
#Add clolors in this way: \[\e[<color>m\] | |
#Black 0;30 | |
#Black 0;30 | |
#Dark Gray 1;30 | |
#Blue 0;34 | |
#Light Blue 1;34 | |
#Green 0;32 | |
#Light Green 1;32 | |
#Cyan 0;36 | |
#Light Cyan 1;36 | |
#Red 0;31 | |
#Light Red 1;31 | |
#Purple 0;35 | |
#Light Purple 1;35 | |
#Brown 0;33 | |
#Yellow 1;33 | |
#Light Gray 0;37 | |
#White 1;37 | |
# | |
#ENABLE GIT BRACH ON PS1 | |
function parse_git_branch_and_add_brackets () { | |
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\ \[\1\]/' | |
} | |
#export PS1="(\[\033[01;32m\]\T\[\033[00m\]) \[\033[01;34m\]\u\[\033[00m\]@\[\033[0;35m\]mac\[\033[00m\]:\w\n\[\e[00m\]\$(parse_git_branch_and_add_brackets)\$" | |
export PS1="(\[\033[01;32m\]\T\[\033[00m\]) \[\033[01;34m\]\u\[\033[00m\]@\[\033[0;35m\]mac\[\033[00m\]:\w\n\[\e[00m\]\[\033[0;32m\]\$(parse_git_branch_and_add_brackets)\[\033[0m\]\$" | |
#continuation of interactive prompt using PS2 | |
export PS2="continue-> " | |
#PS3 prompt used by 'select' inside shell script | |
#PS4 Used by 'set -x' to prefix tracing output | |
#GIT PS1 to show branch | |
#`git branch 2>/dev/null | cut -f2 -d\* -s` | |
#GIT BASH COMPLETION | |
source ~/.git-completion.bash | |
#HomeBrew Installation Paths | |
export PATH=/usr/local/bin:/usr/local/sbin:$PATH | |
export PATH=/usr/local/share/python:$PATH | |
#ruby rvm install path | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" | |
#echo -e "Hey, $(toilet -f circle -F metal ashrith)" | |
#toilet -f mono12 -F metal ashrith |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment