diff options
author | xyz <gky44px1999@gmail.com> | 2021-06-09 05:30:47 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2021-06-09 05:30:47 -0700 |
commit | 7199d42292932281a85e646919710300a98d79a7 (patch) | |
tree | c058946e606ab7761ca243da201ab988185b6cdb | |
parent | b9af118f790a0a40e8de86b0094ed2923932d7c6 (diff) |
alias change to .sh file, reflector2
-rw-r--r-- | .bashrc | 2 | ||||
-rwxr-xr-x | .local/bin/datec | 3 | ||||
-rwxr-xr-x | .local/bin/ref2 | 3 |
3 files changed, 7 insertions, 1 deletions
@@ -21,6 +21,6 @@ alias ls='ls --color=auto' alias ll='ls -lAh --color=auto' alias cfgc='/usr/bin/git --git-dir=$HOME/.mycfg_cross_platform/ --work-tree=$HOME' alias cfgl='/usr/bin/git --git-dir=$HOME/.mycfg_local/ --work-tree=$HOME' -alias datec='TZ=Asia/Shanghai date "+%a %m/%d/%Y %H:%M:%S UTC%:::z"' +#alias ref2='sudo reflector --save /etc/pacman.d/mirrorlist --latest 200 --sort rate' eval "$(zoxide init bash)" diff --git a/.local/bin/datec b/.local/bin/datec new file mode 100755 index 00000000..d2e8715e --- /dev/null +++ b/.local/bin/datec @@ -0,0 +1,3 @@ +#!/bin/sh + +TZ=Asia/Shanghai date "+%a %m/%d/%Y %H:%M:%S UTC%:::z" diff --git a/.local/bin/ref2 b/.local/bin/ref2 new file mode 100755 index 00000000..2a849028 --- /dev/null +++ b/.local/bin/ref2 @@ -0,0 +1,3 @@ +#!/bin/sh + +sudo reflector --save /etc/pacman.d/mirrorlist --latest 200 --sort rate |