summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2021-06-09 05:30:47 -0700
committerxyz <gky44px1999@gmail.com>2021-06-09 05:30:47 -0700
commit7199d42292932281a85e646919710300a98d79a7 (patch)
treec058946e606ab7761ca243da201ab988185b6cdb
parentb9af118f790a0a40e8de86b0094ed2923932d7c6 (diff)
alias change to .sh file, reflector2
-rw-r--r--.bashrc2
-rwxr-xr-x.local/bin/datec3
-rwxr-xr-x.local/bin/ref23
3 files changed, 7 insertions, 1 deletions
diff --git a/.bashrc b/.bashrc
index 48a2b28e..5519fa8a 100644
--- a/.bashrc
+++ b/.bashrc
@@ -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