[更新] 优化zshrc配置脚本
This commit is contained in:
parent
69befa7ad0
commit
821f363ad7
12
配置/zshrc
12
配置/zshrc
|
@ -1,12 +1,14 @@
|
|||
# 加载基础变量
|
||||
配置路径=$HOME/.config/xunmi
|
||||
source ${配置路径}/PATH.sh
|
||||
export ZSH=${寻觅}/oh-my-zsh
|
||||
source ${配置路径}/信息
|
||||
export ZSH=${言灵一路径}/oh-my-zsh
|
||||
|
||||
# 加载各种开发环境
|
||||
for 开发环境 in "${配置路径}"/开发环境/*.zsh; do
|
||||
source "$开发环境"
|
||||
done
|
||||
if [[ -d "${配置路径}/开发环境" ]]; then
|
||||
for 开发环境 in "${配置路径}"/开发环境/*.zsh; do
|
||||
source "$开发环境"
|
||||
done
|
||||
fi
|
||||
|
||||
# 添加环境变量(python很喜欢将一些可执行文件放在这个位置)
|
||||
export PATH=/usr/local/bin:$HOME/.local/bin:$PATH
|
||||
|
|
Loading…
Reference in New Issue
Block a user