mirror of
https://github.com/DictXiong/dotfiles.git
synced 2025-12-19 20:47:49 +08:00
zshrc: sibd and sob
This commit is contained in:
parent
dae32c5293
commit
af2058d91c
2
.zshrc2
2
.zshrc2
@ -89,6 +89,8 @@ alias "se"='sudo -sE'
|
||||
alias "pbd"='ping baidu.com'
|
||||
alias "p114"='ping 114.114.114.114'
|
||||
alias "p666"='ping6 2001:da8::666'
|
||||
sibd() {ssh -p 12022 root@$1${1:+.}ibd.ink}
|
||||
sob() {ssh -p 24022 root@$1${1:+.}ob.ac.cn}
|
||||
case $(bash "$DOTFILES/tools/common.sh" get_os_type) in
|
||||
macos ) alias l='ls -lAGh -D "%y-%m-%d %H:%M"' ;;
|
||||
* ) alias l='ls -lAGh --time-style="+%y-%m-%d %H:%M"' ;;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user