同步一些常用配置

tianyun ba929fc739 1 hai 8 meses
.gitignore 792c1bf0fc 新增.gitignore和sh_config.sh文件。 hai 1 ano
DirectoryV3.xml 11e17c9d0f 1 hai 9 meses
README.md df19a1faed 1 hai 9 meses
go_config.sh 1067e6471a 1 hai 9 meses
mac_config.sh 080faa9b59 1 hai 9 meses
pri_config.sh 7c22934d15 1 hai 8 meses
sh_config.sh bd5ef8c1b1 1 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