From 2faf5b5ae989c5de2d0d80cf1df9ba9264a74ef9 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Wed, 22 Jul 2015 15:39:26 +0300 Subject: [PATCH] rc: add $HOSTNAME for znc --makepem --- rc/bashrc | 3 +++ rc/zshrc | 3 +++ 2 files changed, 6 insertions(+) diff --git a/rc/bashrc b/rc/bashrc index c3747f2b..7da52e04 100644 --- a/rc/bashrc +++ b/rc/bashrc @@ -241,6 +241,9 @@ alias maken="make -j$NPROC" # Ensure that pkg-config paths are found #export PKG_CONFIG_PATH=$(which pkg-config) +# znc uses this variable for figuring out hostname +export HOSTNAME=$(hostname --fqdn) + ##### Aliases RJ706I ##### # To get sudo work with aliases. diff --git a/rc/zshrc b/rc/zshrc index 5c08644a..b38ed56c 100644 --- a/rc/zshrc +++ b/rc/zshrc @@ -184,6 +184,9 @@ alias maken="make -j$NPROC" # Ensure that pkg-config paths are found #export PKG_CONFIG_PATH=$(which pkg-config) +# znc uses this variable for figuring out hostname +export HOSTNAME=$(hostname --fqdn) + ##### Aliases RJ706I ##### # To get sudo work with aliases.