X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=.profile.d%2Fprompt.bashrc;h=6357ac513d46d407ed420aa125040af95d24199c;hb=aca9a1b0a3f372cc385ff2dc7c4e0c4e392e89f7;hp=ca55679c7751e2299bc28e0a36402685cad79966;hpb=31192e260dfbbee3487b6f0623c70b516149743a;p=profile.git diff --git a/.profile.d/prompt.bashrc b/.profile.d/prompt.bashrc index ca55679..6357ac5 100644 --- a/.profile.d/prompt.bashrc +++ b/.profile.d/prompt.bashrc @@ -5,7 +5,7 @@ SSH_FORWARDED=$(get_remote_ip -n) if [ ! -z "$SSH_FORWARDED" ]; then - if [ ! "$SSH_FORWARDED" = "62.189.242.202" -a ! "$SSH_FORWARDED" = "62.189.241.202" ]; then + if [ ! "$SSH_FORWARDED" = "62.189.242.202" -a ! "$SSH_FORWARDED" = "62.189.241.202" -a ! "$SSH_FORWARDED" = "193.128.72.68" ]; then SSH_FORWARDED=" (from $SSH_FORWARDED)" else SSH_FORWARDED= @@ -14,7 +14,7 @@ fi # Unscientific check for grid jobs. case ${SSH_CLIENT##* } in - 22|2222);; + ""|22|2222);; *) SSH_FORWARDED="$SSH_FORWARDED [grid]" esac