diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2024-06-24 17:39:37 -0700 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2024-06-24 17:39:37 -0700 |
commit | 9954a1eca1badfd340744fbc46cf4d61e5e0542d (patch) | |
tree | d6595755b54f7fc07500f80e5c5070eb09b78f16 | |
parent | aacc37b247749c96e66e1ff9d4391110ddbe3f1a (diff) |
feat: u auto get host name
-rwxr-xr-x | sh/u | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3,7 +3,7 @@ ssh-add -l || ssh-add -for host in studio pp ia ca; do +for host in $(git -C "$HOME/programs/config_local_arch" branch | awk '{print ($1=="*")?$2:$1}' | grep -v master); 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 |