From a0cfc6e4d4af002f5fe54715571fe3c99c168aab Mon Sep 17 00:00:00 2001 From: "xiongdian.me" Date: Mon, 30 Jan 2023 19:41:00 +0800 Subject: [PATCH] bug fix (Mon Jan 30 19:41:00 CST 2023) --- .zshrc2 | 2 +- tools/test.zsh | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.zshrc2 b/.zshrc2 index bfde9ad..26e08de 100644 --- a/.zshrc2 +++ b/.zshrc2 @@ -113,7 +113,7 @@ if [[ -x $(command -v trash) ]]; then alias "rm"="echo use the full path i.e. '/bin/rm'\; consider using trash" fi gbes() { git for-each-ref --sort=-committerdate refs/heads refs/remotes --format="%(authordate:format:%y-%m-%d.%a %H:%M %z)|%(color:red)%(objectname:short)|%(color:yellow)%(refname:short)%(color:reset)|%(color:reset)%(authorname): %(color:green)%(subject)" --color=always | column -ts"|" | less -FX } -piv-agent() { eval "$($DOTFILES/tools/sagent.sh $@)" } +sagent() { eval "$($DOTFILES/tools/sagent.sh $@)" } # key bindings bindkey "^b" beginning-of-line # ctrl+b diff --git a/tools/test.zsh b/tools/test.zsh index cbe6adf..d787329 100644 --- a/tools/test.zsh +++ b/tools/test.zsh @@ -18,7 +18,6 @@ grep -q ".zshrc2" ~/.zshrc dfs version dfs log 1 dfs beacon gh.ci $GITHUB_SHA -sagent z ~ test ~ -ef "$(pwd)" dogo @@ -35,7 +34,7 @@ test $(DFS_QUIET=1 tools/common.sh ask_for_Yn "test") = "1" # check alias alias p114 which riot -piv-agent || which piv-agent +sagent gbes || which gbes # check update