From 85533eb33e61bd431a428f94f47fcb33964c33f6 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Fri, 2 Aug 2024 00:49:43 -0700 Subject: u: use more $@, fix upd at insp no $@ bug --- sh/u | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sh/u') diff --git a/sh/u b/sh/u index 7df27d9..e0f9218 100755 --- a/sh/u +++ b/sh/u @@ -14,7 +14,7 @@ git -C "$HOME/programs/config_local_arch" branch | awk '!/master/{print ($1=="*" # https://superuser.com/questions/241187/how-do-i-reload-inputrc # because I invoke bash, no need alacritty --hold #o alacritty -T "$branch" -e ssh -t "$branch" '. "$HOME/.profile" && upd; "$SHELL" -l' - o alacritty -T "$branch" -e ssh -t "$branch" '. "$HOME/.profile" &&' "upd $*;" '"$SHELL" -l' + o alacritty -T "$branch" -e ssh -t "$branch" '. "$HOME/.profile" && upd' "$@" '; "$SHELL" -l' done -upd +upd "$@" -- cgit v1.2.3-70-g09d2