同步一些常用配置

tianyun a3de73f974 提高glibc版本要求到2.29 hai 8 meses
app 4589f1fbfe 1 hai 8 meses
.gitignore 792c1bf0fc 新增.gitignore和sh_config.sh文件。 hai 1 ano
DirectoryV3.xml 11e17c9d0f 1 hai 9 meses
README.md 4589f1fbfe 1 hai 8 meses
go_config.sh 1067e6471a 1 hai 9 meses
mac_config.sh 080faa9b59 1 hai 9 meses
pri_config.sh 653e90b6b7 ```修复解析JSON响应中path字段的变量引用 hai 8 meses
sh_config.sh a3de73f974 提高glibc版本要求到2.29 hai 8 meses
ssh_config.sh ba929fc739 1 hai 8 meses
tmp.sh 8ab0770ec1 123 hai 1 ano

README.md

sync

同步一些常用配置

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)

使用N次

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
  • 一般需要设置
  • vim