同步一些常用配置

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

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