You are not logged in.
Hi... for maybe 2 days now, i dont have any hostname in zsh.
I created a file /etc/locale.conf with the contents for LANG and LC_MESSAGES. (en_US.UTF-8) in my case. But still it doesnt work.
As soon as i change shell to bash, its working again
It doesnt even need a logout:
[carnager@freebox ~]$ echo $HOSTNAME
freebox
[carnager@freebox ~]$ zsh
The trouble with heart disease is that the first symptom is often hard to
deal with: death.
-- Michael Phelps
carnager@freebox ~
> echo $HOSTNAME
carnager@freebox ~
>
And yes: the inetutils package is also installed.
Last edited by Rasi (2011-10-23 20:24:41)
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
I can reproduce the same problem on MacOS 10.7.2 with zsh 4.3.11.
bl1nk at metaverse in ~
$ echo $HOSTNAME
bl1nk at metaverse in ~
$ bash
bash-3.2$ echo $HOSTNAME
metaverse.fritz.box
Offline
Hi... for maybe 2 days now, i dont have any hostname in zsh.
What gives the hostname command ?
[Iggy ~]% echo $HOSTNAME
[Iggy ~]% hostname
Iggy
[Iggy ~]% echo $0
zsh
Offline
ok... then i will have to open another thread, because i thought this is related to another issue, where ssh uses up all my memory in seconds. and this only happens when i use zsh as my shell...
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline