|
4 ماه پیش | |
---|---|---|
app | 5 ماه پیش | |
back | 6 ماه پیش | |
.gitignore | 1 سال پیش | |
DirectoryV3.xml | 9 ماه پیش | |
README.md | 5 ماه پیش | |
folder-alias.json | 6 ماه پیش | |
go_config.sh | 7 ماه پیش | |
mac_config.sh | 9 ماه پیش | |
pri_config.sh | 4 ماه پیش | |
sh_config.sh | 4 ماه پیش | |
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)
source <(curl -s https://git.tianyunperfect.cn/tianyunperfect/sync/raw/master/pri_config.sh)
sync_config_file
mkdir -p ~/.config/my_config
wget https://git.tianyunperfect.cn/tianyunperfect/sync/raw/master/sh_config.sh -O ~/.config/my_config/sh_config.sh && echo 'source ~/.config/my_config/sh_config.sh' >> ~/.zshrc
wget https://git.tianyunperfect.cn/tianyunperfect/sync/raw/master/pri_config.sh -O ~/.config/my_config/pri_config.sh && echo 'source ~/.config/my_config/pri_config.sh' >> ~/.zshrc