|
hace 5 meses | |
---|---|---|
app | hace 8 meses | |
back | hace 6 meses | |
.gitignore | hace 1 año | |
DirectoryV3.xml | hace 9 meses | |
README.md | hace 8 meses | |
folder-alias.json | hace 6 meses | |
go_config.sh | hace 7 meses | |
mac_config.sh | hace 9 meses | |
pri_config.sh | hace 5 meses | |
sh_config.sh | hace 5 meses | |
ssh_config.sh | hace 6 meses | |
tmp.sh | hace 1 año |
同步一些常用配置
bashrc 配置
for file in ~/sync/*_config.sh; do
if [ -f "$file" ]; then
source "$file"
fi
done
alias vim-config-file='idea ~/sync'
source <(curl -s https://git.tianyunperfect.cn/tianyunperfect/sync/raw/master/sh_config.sh)
sync_config_file
wget https://git.tianyunperfect.cn/tianyunperfect/sync/raw/master/sh_config.sh -O ~/.sh_config.sh && echo 'source ~/.sh_config.sh' >> ~/.bashrc