Linux环境变量配置
# 别名 alias ll='ls -lh' alias ali='ssh root@ali.hepengju.com' alias centos7='ssh root@192.168.180.100' alias k='kubectl' alias gc='git clone' export bizcode='/d/jiyu/bizcode' export arkapp='/d/jiyu/ark2/ark-app' # 环境变量 export SOFT_HOME=/d/software export JDK8_HOME=$SOFT_HOME/jdk1.8.0_351 export JDK17_HOME=$SOFT_HOME/jdk-17.0.6 export JDK19_HOME=$SOFT_HOME/jdk-19 export GRAALVM_HOME=$SOFT_HOME/graalvm-ee-java17-22.1.0 #export JAVA_HOME=$JDK18_HOME export JAVA_HOME=$JDK17_HOME export MAVEN_HOME=$SOFT_HOME/apache-maven-3.9.0 export PATH=$MAVEN_HOME/bin:$JAVA_HOME/bin:$PATH # 代理 #host_ip=$(cat /etc/resolv.conf | grep nameserver | awk '{ print $2 }') host_ip=127.0.0.1 proxy_host=http://$host_ip:56789 alias set_proxy="export all_proxy=$proxy_host;export http_proxy=$proxy_host;export https_proxy=$proxy_host;echo $proxy_host" alias unset_proxy="unset all_proxy;unset http_proxy;unset https_proxy;"
# Ubuntu终端目录颜色调整
alias cleanCache='sync;sync;sync;echo 3 > /proc/sys/vm/drop_caches'
export LS_COLORS=${LS_COLORS}'di=01;36'