nixos/zsh: allow fqdn hostname output
This commit is contained in:
parent
9448487d9f
commit
9fdf7027cc
|
@ -236,6 +236,9 @@ in
|
|||
setopt ${concatStringsSep " " cfg.setOptions}
|
||||
''}
|
||||
|
||||
# Alternative method of determining short and full hostname.
|
||||
HOST=${config.networking.fqdnOrHostName}
|
||||
|
||||
# Setup command line history.
|
||||
# Don't export these, otherwise other shells (bash) will try to use same HISTFILE.
|
||||
SAVEHIST=${toString cfg.histSize}
|
||||
|
|
Loading…
Reference in a new issue