summaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2024-08-02 00:43:42 -0700
committerXiao Pan <xyz@flylightning.xyz>2024-08-02 00:43:42 -0700
commitcdb868ab61053e90f0134fb4c24648f29cf013ff (patch)
tree221e57208d47576a233872a59574735c1a08fc4d /sh
parenta3a4be4f36b8e901f1991352e10b3422c03f0d3c (diff)
u: now can pass args to upd
Diffstat (limited to 'sh')
-rwxr-xr-xsh/u3
1 files changed, 2 insertions, 1 deletions
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