Merge pull request #223214 from Izorkin/update-zsh-hostname

nixos/zsh: allow fqdn hostname output
This commit is contained in:
Ryan Lahfa 2023-04-15 22:23:31 +02:00 committed by GitHub
commit 14577497e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}