diff --git a/hybris.plugin.zsh b/hybris.plugin.zsh index 29b429e..001e73d 100644 --- a/hybris.plugin.zsh +++ b/hybris.plugin.zsh @@ -11,7 +11,7 @@ e() {emacsclient -n $@ > /dev/null 2>&1} health() {/usr/bin/screen -O -S health -c ~/.config/screen_health} j() {jump $@} loop() {while [ 1 ]; do sh -c "$@"; done} -open_ports() {sudo netstat -tulpen 2> /dev/null | grep LISTEN"} +open_ports() {sudo netstat -tulpen 2> /dev/null | grep "LISTEN"} r() {if [ $# -eq 1 ]; then ssh root@$1; else sudo su -; fi}