diff --git a/shells/zshrc b/shells/zshrc index 050490f..960f428 100644 --- a/shells/zshrc +++ b/shells/zshrc @@ -44,6 +44,7 @@ function rsh(){ return 1 fi ADDR=$(cat /home/stonewareslord/syncthing/shared/ips | sed -rne "s/^$1: //p") + shift if [ -z $ADDR ] ; then echo "Hostname not found" return 2