Closed sarisia closed 4 years ago
Some Linux distributions (e.g. Arch Linux) do not have hostname command by default, which is used by get_hostname function.
hostname
get_hostname
This PR changes hostname to uname -n. Tested in Ubuntu, Arch Linux and macOS.
uname -n
We do not use $hostname variable which was introduced in fish 3.0 in order to keep backward compatibility.
$hostname
Thank you
Some Linux distributions (e.g. Arch Linux) do not have
hostname
command by default, which is used byget_hostname
function.This PR changes
hostname
touname -n
. Tested in Ubuntu, Arch Linux and macOS.We do not use
$hostname
variable which was introduced in fish 3.0 in order to keep backward compatibility.