tianyun 8 months ago
parent
commit
7c22934d15
2 changed files with 3 additions and 2 deletions
  1. 1 0
      pri_config.sh
  2. 2 2
      sh_config.sh

+ 1 - 0
pri_config.sh

@@ -59,6 +59,7 @@ function upload_file_common() {
 
     echo ''
     echo "https://alist.tianyunperfect.cn/oss_jing1/$path"
+    echo "https://kedaoyun.tianyunperfect.cn/#explorer&pathFile=%7Bio:5%7D/$path"
     echo "https://oss_b_1.tianyunperfect.cn/$path"
     echo "https://tianyunperfect1.oss-cn-beijing.aliyuncs.com/$path"
 }

+ 2 - 2
sh_config.sh

@@ -1,11 +1,11 @@
 # path去重
 export PATH=$(echo $PATH | tr ':' '\n' | cat -n | sort -k2,2 -k1,1n | uniq -f1 | sort -k1,1n | cut -f2- | tr '\n' ':')
 
-function tar_gz() {
+function targz() {
 	tar -zcvf "${1}".tgz "$1"
 	ll -h ${1}.tgz
 }
-function un_tar() {
+function untar() {
   tar -zxvf "$1"
 }
 alias sync_config_file='wget https://git.tianyunperfect.cn/tianyunperfect/sync/raw/master/sh_config.sh -O ~/.sh_config.sh && source ~/.sh_config.sh'