|
6 月之前 | |
---|---|---|
app | 8 月之前 | |
.gitignore | 1 年之前 | |
DirectoryV3.xml | 9 月之前 | |
README.md | 8 月之前 | |
go_config.sh | 7 月之前 | |
mac_config.sh | 9 月之前 | |
pri_config.sh | 8 月之前 | |
sh_config.sh | 6 月之前 | |
ssh_config.sh | 6 月之前 | |
tmp.sh | 1 年之前 |
同步一些常用配置
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