summaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh')
-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