tianyun 9 miesięcy temu
rodzic
commit
df19a1faed
2 zmienionych plików z 6 dodań i 4 usunięć
  1. 3 3
      README.md
  2. 3 1
      sh_config.sh

+ 3 - 3
README.md

@@ -10,7 +10,6 @@ for file in ~/sync/*_config.sh; do
     fi
 done
 
-alias sync_config_file='cd ~/sync && git pull && git add . && git commit -m 123 && git push'
 alias vim-config-file='idea ~/sync'
 ```
 
@@ -20,7 +19,8 @@ alias vim-config-file='idea ~/sync'
 source <(curl -s https://git.tianyunperfect.cn/tianyunperfect/sync/raw/master/sh_config.sh)
 ```
 # 使用N次
+sync_config_file
 ```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
+wget https://git.tianyunperfect.cn/tianyunperfect/sync/raw/master/sh_config.sh -O ~/.sh_config.sh && echo 'source ~/.sh_config.sh' >> ~/.bashrc
 ```
+

+ 3 - 1
sh_config.sh

@@ -336,4 +336,6 @@ function echosync() {
 echo '
 source <(curl -s https://git.tianyunperfect.cn/tianyunperfect/sync/raw/master/sh_config.sh)
 '
-}
+}
+
+alias settitle='wezterm cli set-tab-title '