X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=setup.sh;h=e40249a956651eb5bbb93f7b2a1d7a3f39ea6005;hb=a50edcee0c62258dee0d0bbce7fd655e6f864978;hp=14bc7a8d97fb2458c79af3bdec6223facd5dc244;hpb=d6a9655958d66b76da99d2a80807fca63b63d7b8;p=config%2Fdotfiles.git diff --git a/setup.sh b/setup.sh index 14bc7a8..e40249a 100755 --- 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 @@ -251,6 +256,10 @@ link zsh/env ~/.zshenv link zsh/rc ~/.zshrc link zsh/logout ~/.zlogout +if installed tmux; then + link terminfo ~/.terminfo +fi + # Link setup for additional files. if installed crontab; then link crontab.d ~/.crontab.d @@ -273,3 +282,6 @@ fi if test -d ~/.ssh && test -O ~/.ssh; then link ssh_config ~/.ssh/config fi +if installed dig; then + link digrc ~/.digrc +fi