summaryrefslogtreecommitdiff
path: root/sh/u
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2024-06-24 18:36:15 -0700
committerXiao Pan <gky44px1999@gmail.com>2024-06-24 18:36:15 -0700
commit0c7523494099d682831e6adf40aa9697ca765f03 (patch)
tree5d47b84f1d7d4bb3e2746e77d7a00bdc4b03e2f7 /sh/u
parent989495cf4c96b9caab39fff71b57d833fab26a8f (diff)
refactor
Diffstat (limited to 'sh/u')
-rwxr-xr-xsh/u3
1 files changed, 2 insertions, 1 deletions
diff --git a/sh/u b/sh/u
index 4b201d9..b5c068d 100755
--- a/sh/u
+++ b/sh/u
@@ -3,7 +3,8 @@
ssh-add -l || ssh-add
-for host in $(git -C "$HOME/programs/config_local_arch" branch | awk '{print ($1=="*")?$2:$1}' | grep -v master); do
+#for host in $(git -C "$HOME/programs/config_local_arch" branch | awk '{print ($1=="*")?$2:$1}' | grep -v master); do
+git -C "$HOME/programs/config_local_arch" branch | awk '{print ($1=="*")?$2:$1}' | grep -v master | while read -r host; do
# alacritty use -T to change window name so I can identify different servers
# need to invoke bash afterwards for manual things like reboot if linux upgrades and pacdiff
# maybe can automate further so no need manual things