关键词:
# init bash_profile
if [ ! -f ~/.bash_profile ]; then
cat <<'EOT' > ~/.bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/.local/bin:$HOME/bin
export PATH
EOT
fi
# install bashrc.d
if [ ! -d ~/.bashrc.d ]; then
git clone https://github.com/shskwmt/bashrc.d.git ~/.bashrc.d
if [ -f ~/.bashrc ]; then
rm ~/.bashrc
fi
ln -s ~/.bashrc.d/bashrc ~/.bashrc
source ~/.bashrc
fi
sh的.bashrc(代码片段)
查看详情
sh的.bashrc(代码片段)
查看详情
sh的.bashrc(代码片段)
查看详情
sh的.bashrc(代码片段)
查看详情
sh的.bashrc(代码片段)
查看详情
sh的.bashrc(代码片段)
查看详情
sh的.bashrc(代码片段)
查看详情
sh的.bashrc(代码片段)
查看详情
sh的.bashrc(代码片段)
查看详情
sh我的控制台别名在.bashrc中(代码片段)
查看详情
sh在.bashrc(代码片段)
查看详情
sh在.bashrc(代码片段)
查看详情
sh在.bashrc(代码片段)
查看详情
sh备份.bashrc(代码片段)
查看详情
sh.bashrc.virtualenvwrapper(代码片段)
查看详情
sh个人bashrc个人资料-别名(代码片段)
查看详情
sh我真棒.bashrc-随意偷东西(代码片段)
查看详情
sh.bashrc改进了osx,centos,ubuntu等的命令提示符,(代码片段)
查看详情