]> arthur.barton.de Git - ax-zsh.git/blobdiff - bin/axttyinfo
Don't use $HOSTNAME or call hostname(1), use $HOST instead!
[ax-zsh.git] / bin / axttyinfo
index 57c76c0b010dfba611f8b8bafacb3fa86ce183e0..6efd51d6019b2476eaf836a5fba98ab24712d5a4 100755 (executable)
@@ -20,7 +20,7 @@ while [[ $# -gt 0 ]]; do
        shift
 done
 
-print -Pn -- "$fg[white]$FX[bold]$(hostname)$FX[no-bold] "
+print -Pn -- "$fg[white]$FX[bold]$HOST$FX[no-bold] "
 print -Pn -- "$fg[yellow]$(tty)$FX[reset], "
 print -Pn -- "$fg[green]$FX[underline]${TERM:-?}$FX[reset] "
 print -Pn -- "(${COLUMNS:-?}x${LINES:-?}); "