linux 备份

.bashrc

#git
    alias gitpull-dev0801='git pull https://github.com/hadventure/zonlolo.git +refs/heads/dev_20130801:refs/remotes/origin/dev_20130801'
    alias gitpush-dev0801='git push https://github.com/hadventure/zonlolo.git +refs/heads/dev_20130801:refs/heads/dev_20130801'
    alias gitzonlolo='cd ~/git/zonlolo'
    alias gitstatus='git status'

mvn

    alias mvnformat='mvn java-formatter:format'

sound

    alias sound='alsamixer'

file operation

    alias cp='rsync -aP'

/etc/profile

config jdk enviroment

export M2_HOME=/home/lidl/dev/apache/apache-maven-3.0.5
export M2=$M2_HOME/bin
export MAVEN_OPTS=“-Xms256m -Xmx512m”

JAVA_HOME=/home/lidl/soft/jdk1.7.0_21
JRE_HOME=$JAVA_HOME/jre
CLASSPATH=$JAVA_HOME/lib:$JRE_HOME/lib
CATALINA_HOME=/home/lidl/dev/apache/apache-tomcat-7.0.41
PATH=$PATH:$JAVA_HOME/bin:$M2:$CATALINA_HOME
export JAVA_HOME CLASSPATH PATH

你可能感兴趣的:(linux 备份)