]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - setup.sh
digrc: Add. Configuration file for dig.
[config/dotfiles.git] / setup.sh
index 14bc7a8d97fb2458c79af3bdec6223facd5dc244..aeaae961be71d88ebc09b987c1e0f892bc3f9aae 100755 (executable)
--- a/setup.sh
+++ b/setup.sh
@@ -234,6 +234,11 @@ fi
 # Htop overwrites the comments in its configuration file.
 generate htoprc .in cat
 
+if installed dig; then
+    # dig doesn't support any comments in digrc.
+    grep -v -E '^#' digrc.in >digrc
+fi
+
 
 # LINK SETUP
 
@@ -273,3 +278,6 @@ fi
 if test -d ~/.ssh && test -O ~/.ssh; then
     link ssh_config ~/.ssh/config
 fi
+if installed dig; then
+    link digrc ~/.digrc
+fi