From aafafda412809a6e0bbbf541b8bc576f1275e574 Mon Sep 17 00:00:00 2001 From: "xiongdian.me" Date: Sat, 29 Jul 2023 16:10:52 +0800 Subject: [PATCH] zshrc: try to use gnu-ls --- .zshrc2 | 1 + tools/macos.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.zshrc2 b/.zshrc2 index 07afe7b..443a7bc 100644 --- a/.zshrc2 +++ b/.zshrc2 @@ -108,6 +108,7 @@ alias "p666"='ping6 2001:da8::666' alias "cbd"='curl http://www.baidu.com' alias "cbds"='curl https://www.baidu.com' alias "gdebug"='git add -A; git commit --allow-empty -m "bug fix ($(date))"' +alias "ls"='ls --color=tty' alias "l"='ls -lAGh --time-style="+%y-%m-%d %H:%M"' if [[ -x $(command -v trash) ]]; then alias "rm"="echo use the full path i.e. '/bin/rm'\; consider using trash" diff --git a/tools/macos.sh b/tools/macos.sh index 9c7aa9d..48ccc1e 100755 --- a/tools/macos.sh +++ b/tools/macos.sh @@ -6,7 +6,7 @@ source "$THIS_DIR/common.sh" brew_install() { # brew update - brew install git zsh curl tmux vim util-linux + brew install git zsh curl tmux vim util-linux coreutils } router()