FS#35458 - [fish] call to hostname which might not be availabe
Attached to Project:
Community Packages
Opened by Benedict Etzel (BehEh) - Friday, 24 May 2013, 14:33 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Sunday, 02 June 2013, 13:23 GMT
Opened by Benedict Etzel (BehEh) - Friday, 24 May 2013, 14:33 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Sunday, 02 June 2013, 13:23 GMT
|
Details
Description:
Additional info: * package version(s) * config and/or log files etc. Steps to reproduce: |
This task depends upon
Closed by Bartłomiej Piotrowski (Barthalion)
Sunday, 02 June 2013, 13:23 GMT
Reason for closing: Fixed
Additional comments about closing: fish 2.0.0-2
Sunday, 02 June 2013, 13:23 GMT
Reason for closing: Fixed
Additional comments about closing: fish 2.0.0-2
After calling "fish" as root I get
"Welcome to fish, the friendly interactive shell
Type help for instuctions on how to use fish
fish: Unknown command "hostname"
/usr/share/fish/functions/fish_prompt.fish (line 6): hostname|cut -d . -f 1
in comand substitution
called on line 9 of file "/usr/share/fish/functions/fish_prompt.fish",
in function "fish_prompt",
called on standard input,
in command substitution
called on standard input,"
Editing line 6 of /usr/share/fish/functions/fish_prompt.fish to use "uname -n" the error message does not appear any more.
hostname is part of inetutils and not installed on the system.