You are not logged in.
Pages: 1
whenever I open zsh, I get this error message:
/home/InfinityDweller/.oh-my-zsh/lib/completion.zsh:37: command not found: hostname
I have no clue why it can't find hostname info...
My first thought was rc.conf and hosts
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="Quasar"
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost Quasar
::1 localhost.localdomain localhost
any help at all would be appreciated!
Last edited by InfinityDweller (2011-08-10 22:46:51)
Offline
hostname is also a binary in /bin (it's part of net-tools). Not sure why it can't find it, but hopefully this gives you something to go on
I would guess that the script that errors out has it hard-coded to something else like /usr/bin/hostname or /usr/local/bin/hostname... take a look at line 37
Last edited by oliver (2011-08-10 23:18:15)
Offline
ummm... Awesome!
thanks very much!
I re-installed net-tools, now no problem!
Offline
InfinityDweller, if you've solved your problem, please mark the thread as solved.
BTW, when pasting code, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode
like thisIt makes the code more readable and more convenient to scroll through.
Offline
Warning: hostname utility moved from net-tools to inetutils . Now to avoid strange behavior in zsh, must:
pacman -Syu inetutils Last edited by kfl62 (2011-10-08 07:36:19)
Offline
Warning: hostname utility moved from net-tools to inetutils . Now to avoid strange behavior in zsh, must:
pacman -Syu inetutils
Oh come on, it's in the news, are we going to "update" every thread about net-tools, zsh, xorg-server etc.? Arch is a rolling release, things change every day - just because it worked yesterday doesn't mean it will still work today.
Offline
Pages: 1