From 11d73cef87e8dcd8ccd2ac9488db4f076454b0b6 Mon Sep 17 00:00:00 2001 From: maudin Date: Mon, 9 Dec 2019 17:11:19 +0100 Subject: [PATCH] add ra alias --- hybris.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/hybris.zsh b/hybris.zsh index ac0f4d6..54f91d7 100644 --- a/hybris.zsh +++ b/hybris.zsh @@ -19,6 +19,7 @@ j() {if [ $# -eq 0 ]; then marks; else jump $@; fi} loop() {while [ 1 ]; do sh -c "$@"; done} open_ports() {if [ $# -eq 1 ] && [ $1 = "public" ]; then sudo netstat -tulpen 2> /dev/null | grep "LISTEN" | grep -v "127.0.0.1"; else sudo netstat -tulpen 2> /dev/null | grep "LISTEN"; fi} r() {if [ $# -gt 0 ]; then for h in $@; do ssh root@$h; done; else sudo su -; fi} +ra() {if [ $# -gt 0 ]; then for h in $@; do ssh -A root@$h; done; else sudo su -; fi} sc-error() {xdg-open "https://github.com/koalaman/shellcheck/wiki/$1"} # Usefull bindings