灰
恢复您的点文件,bash环境和配置。
建立目录结构。
分叉,克隆,将您的dotfiles复制到ash / conf / home /中,且不带前导点。 # Fork this repo
# Clone
git clone git@github.com:username/ash
# Choose dotfiles you want to backup.
# For example, .fun, .env, .screenrc, .inputrc, .gitconfig, .vimrc, etc.
dotfiles= ' .fun .env .screenrc .inputrc .gitconfig .vimrc '
for i in dotfiles
do
cp -a ~ / $i ash/conf/home/ ${i # .}
done
将环境写入ash / c