From cdb868ab61053e90f0134fb4c24648f29cf013ff Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Fri, 2 Aug 2024 00:43:42 -0700 Subject: u: now can pass args to upd --- sh/u | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sh/u') diff --git a/sh/u b/sh/u index 59aa76a..7df27d9 100755 --- a/sh/u +++ b/sh/u @@ -13,7 +13,8 @@ git -C "$HOME/programs/config_local_arch" branch | awk '!/master/{print ($1=="*" # maybe another way: # 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 -- cgit v1.2.3-70-g09d2