同步一些常用配置

tianyun 1587f6fa60 refactor(pri_config.sh): 重构上传功能并优化 memo 函数 hace 5 meses
app 4589f1fbfe 1 hace 8 meses
back a90e70044b feat(ssh_config): 添加 140 和 141 主机的 SSH 别名 hace 6 meses
.gitignore 792c1bf0fc 新增.gitignore和sh_config.sh文件。 hace 1 año
DirectoryV3.xml 11e17c9d0f 1 hace 9 meses
README.md 4589f1fbfe 1 hace 8 meses
folder-alias.json a90e70044b feat(ssh_config): 添加 140 和 141 主机的 SSH 别名 hace 6 meses
go_config.sh 6dfacc94b0 禁用模型生成成功消息的显示 hace 7 meses
mac_config.sh 080faa9b59 1 hace 9 meses
pri_config.sh 1587f6fa60 refactor(pri_config.sh): 重构上传功能并优化 memo 函数 hace 5 meses
sh_config.sh 1587f6fa60 refactor(pri_config.sh): 重构上传功能并优化 memo 函数 hace 5 meses
ssh_config.sh a90e70044b feat(ssh_config): 添加 140 和 141 主机的 SSH 别名 hace 6 meses
tmp.sh 8ab0770ec1 123 hace 1 año

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