代码拉取完成,页面将自动刷新
export LC_ALL=en_US.UTF-8
export LC_CTYPE=zh_CN.UTF-8
export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
# rust env
source ~/.cargo/env
export CARGO_GIT_FETCH_WITH_CLI=true
# export RUSTFLAGS="-C target-feature=-crt-static"
# export BTM_VOLUME=/data/...
# export TENDERMINT_HOME=/data/...
# export ROCKSDB_STATIC=1
# export ROCKSDB_LIB_DIR=/usr/local/lib/
# export ASC_DDEV_HOSTS="192.168.2.42,192.168.2.52,192.168.2.101"
# export GSC_DDEV_HOSTS="192.168.2.42,192.168.2.52,192.168.2.101"
# export FN_DDEV_HOSTS="192.168.2.42,192.168.2.52,192.168.2.101"
# golang env
export GO111MODULE=on
export GOPROXY=https://goproxy.cn
export PATH=~/cargo/bin:~/go/bin:$PATH
export HISTSIZE=2000
export HISTFILE="$HOME/.history"
export SAVEHIST=$HISTSIZE
export EDITOR=vim
export EIX_LIMIT_COMPACT=0
# 启动自动补全
autoload -U compinit
compinit
# 以更悦目的格式显示补全信息
zstyle ':completion:*:descriptions' format '%U%B%d%b%u'
zstyle ':completion:*:warnings' format '%BSorry, no matches for: %d%b'
# 载入主提示符主题
autoload -U promptinit
promptinit
# 比较悦目的主题还有:gentoo、walters、adam2 等
prompt clint
# prompt redhat
# 次提示符,显示当前有效用户身份及工作目录
# RPROMPT="%F{gray}%n@%~%f"
# 忽略所有重复的历史记录
setopt hist_ignore_all_dups
set -o vi
alias ls="ls -F --color=always"
alias ll="ls -sailF"
alias .="source"
alias h="history 1"
alias top="htop"
alias sensors="sensors 2>/dev/null"
# for i in "${HOME}" "${HOME}/trash"; do
# for j in $(find $i -maxdepth 1 -type d); do
# if [[ -d ${j} && -f ${j}/Cargo.toml && (! -d /tmp/${j}/target) ]]; then
# rm -rf ${j}/target /tmp/${j}/target
# mkdir -p /tmp/${j}/target || exit 1
# ln -sv /tmp/${j}/target ${j}/target || exit 1
# fi
# done
# done
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。