添加"source /etc/profile" 到 ~./zshrc,输入zsh启动zsh就OK了,简单粗暴,my style
~
# User configuration
export PATH="/usr/local/php/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/root/bin"
# export MANPATH="/usr/local/man:$MANPATH"
source $ZSH/oh-my-zsh.sh
# bash shell
# keep some config same with bash shell
# add by YanYuMiao
# 2015/03/30
source /etc/profile
~
时间: 2024-11-08 19:01:13