tianyun há 9 meses atrás
pai
commit
e028dc0dc5
2 ficheiros alterados com 6 adições e 2 exclusões
  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"'