mirror of
https://github.com/DictXiong/dotfiles.git
synced 2024-11-24 14:16:59 +08:00
Compare commits
No commits in common. "3d4a264a309c5ec4ddb34d7fd28bbef04727b1ca" and "607b27b38568f16fbc41890ba68f715d09accced" have entirely different histories.
3d4a264a30
...
607b27b385
2
.zshrc2
2
.zshrc2
|
@ -104,7 +104,7 @@ alias "se"='sudo -sE'
|
|||
alias "sl"='sudo zsh -l'
|
||||
alias "cps"='rsync -avh --info=progress2'
|
||||
alias "mvs"='rsync -avh --info=progress2 --remove-source-files'
|
||||
if [[ $("$DOTFILES/tools/common.sh" get_os_type) == "linux" ]]; then alias "ping"='ping -n'; fi
|
||||
alias "ping"='ping -n'
|
||||
alias "pbd"='ping baidu.com'
|
||||
alias "p114"='ping 114.114.114.114'
|
||||
alias "p666"='ping6 2001:da8::666'
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
# remotes
|
||||
j.remote() {
|
||||
remote=ssh.beardic.cn
|
||||
RET_PORT=${RET_PORT:-24022}
|
||||
remote=sir0.ibd.ink
|
||||
RET_PORT=${RET_PORT:-36122}
|
||||
RET_USERNAME=${RET_USERNAME:-root}
|
||||
RET_TRUST_SERVER=1
|
||||
}
|
||||
|
|
|
@ -103,7 +103,6 @@ update_dns()
|
|||
ip4=""
|
||||
elif [[ "$DFS_DDNS_IP4" == "auto" ]]; then
|
||||
ip4="auto"
|
||||
api_url="https://api4.beardic.cn"
|
||||
elif [[ "$DFS_DDNS_IP4" == "api" ]]; then
|
||||
ip4=$(curl $DFS_CURL_OPTIONS -sSL "https://api.ipify.org")
|
||||
elif [[ "$DFS_DDNS_IP4" == "http"* ]]; then
|
||||
|
|
Loading…
Reference in New Issue
Block a user