Last active
December 20, 2015 09:49
-
-
Save BoyCook/6111238 to your computer and use it in GitHub Desktop.
This file contains 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 CATALINA_HOME=/usr/share/tomcat | |
export MAVEN_OPTS="-Xms512m -Xmx2048m -XX:MaxPermSize=512m" | |
# export MAVEN_OPTS="-Xms512m -Xmx2048m -XX:MaxPermSize=512m -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005" | |
export LIQUIBASE_HOME=/usr/share/java/liquibase-2.0.3 | |
export MULE_HOME=/usr/share/java/mule-standalone-3.2.1 | |
export ANT_HOME=/usr/share/ant | |
export GRAILS_HOME=/usr/share/grails | |
export REDIS_HOME=/usr/share/redis | |
export JSCOVERAGE_HOME=/usr/share/jscoverage | |
export JMETER_HOME=/usr/share/jmeter | |
export MONGODB_HOME=/usr/share/mongodb | |
#export ARCHFLAGS='-arch ppc -arch ppc64 -arch i386 -arch x86_64' | |
#export DYLD_LIBRARY_PATH=/usr/local/mysql/lib/ | |
#export PATH=$JMETER_HOME/bin:$PATH:$MONGODB_HOME/bin | |
# export PATH=$PATH:$JSCOVERAGE_HOME | |
alias ic='rm -r .idea && rm *.iml' | |
alias mci='mvn clean install' | |
alias startredis="$REDIS_HOME/src/redis-server" | |
alias conncccs='ssh [email protected]' | |
# alias jettyopts='export MAVEN_OPTS="-Xms512m -Xmx2048m -XX:MaxPermSize=512m -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005"' | |
# alias jettyopts='export MAVEN_OPTS="-Xms512m -Xmx2048m -XX:MaxPermSize=512m -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005"' | |
alias nginxreload='sudo kill -HUP `cat /usr/local/nginx/logs/nginx.pid`' | |
alias nginxconf='echo /usr/local/nginx/conf/nginx.conf' | |
# alias delfile="rm -rf `find . -type f -name $1`" | |
# alias deldir="rm -rf `find . -type d -name $1`" | |
# COLOR_BOLD="\[\e[1m\]" | |
# COLOR_DEFAULT="\[\e[0m\]" | |
# PS1="$COLOR_BOLD\u@\h \w \$ $COLOR_DEFAULT" | |
# export CLICOLOR=1 | |
# Colors ---------------------------------------------------------- | |
export TERM=xterm-color | |
export GREP_OPTIONS='--color=auto' GREP_COLOR='1;32' | |
export CLICOLOR=1 | |
if [ "$OS" = "linux" ] ; then | |
alias ls='ls --color=auto' # For linux, etc | |
# ls colors, see: http://www.linux-sxs.org/housekeeping/lscolors.html | |
#LS_COLORS is not supported by the default ls command in OS-X | |
export LS_COLORS='di=1:fi=0:ln=31:pi=5:so=5:bd=5:cd=5:or=31:mi=0:ex=35:*.rb=90' | |
else | |
alias ls='ls -G' # OS-X SPECIFIC - the -G command in OS-X is for colors, in Linux it's no groups | |
fi | |
# Setup some colors to use later in interactive shell or scripts | |
export COLOR_NC='\033[0m' # No Color | |
export COLOR_WHITE='\033[1;37m' | |
export COLOR_BLACK='\033[0;30m' | |
export COLOR_BLUE='\033[0;34m' | |
export COLOR_LIGHT_BLUE='\033[1;34m' | |
export COLOR_GREEN='\033[0;32m' | |
export COLOR_LIGHT_GREEN='\033[1;32m' | |
export COLOR_CYAN='\033[0;36m' | |
export COLOR_LIGHT_CYAN='\033[1;36m' | |
export COLOR_RED='\033[0;31m' | |
export COLOR_LIGHT_RED='\033[1;31m' | |
export COLOR_PURPLE='\033[0;35m' | |
export COLOR_LIGHT_PURPLE='\033[1;35m' | |
export COLOR_BROWN='\033[0;33m' | |
export COLOR_YELLOW='\033[1;33m' | |
export COLOR_GRAY='\033[1;30m' | |
export COLOR_LIGHT_GRAY='\033[0;37m' | |
alias colorslist="set | egrep 'COLOR_\w*'" # lists all the colors | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment