tianyun 9 місяців тому
батько
коміт
e028dc0dc5
2 змінених файлів з 6 додано та 2 видалено
  1. 5 1
      README.md
  2. 1 1
      sh_config.sh

+ 5 - 1
README.md

@@ -19,4 +19,8 @@ alias vim-config-file='idea ~/sync'
 ```bash
 source <(curl -s https://git.tianyunperfect.cn/tianyunperfect/sync/raw/master/sh_config.sh)
 ```
-# 
+# 使用N次
+```bash
+wget https://git.tianyunperfect.cn/tianyunperfect/sync/raw/master/sh_config.sh -O ~/sync/sh_config.sh
+echo 'source ~/sync/sh_config.sh' >> ~/.bashrc
+```

+ 1 - 1
sh_config.sh

@@ -1,4 +1,4 @@
-
+alias sync_config_file='wget https://git.tianyunperfect.cn/tianyunperfect/sync/raw/master/sh_config.sh -O ~/sync/sh_config.sh'
 # 快捷命令
 ## 未分类
 alias ll='ls -alh --time-style="+%Y-%m-%d %H:%I:%S"'