diff --git a/roles/fedora/tasks/packages-cli.yml b/roles/fedora/tasks/packages-cli.yml index bea9039..76eba11 100644 --- a/roles/fedora/tasks/packages-cli.yml +++ b/roles/fedora/tasks/packages-cli.yml @@ -24,7 +24,6 @@ - asciidoctor - aspell-en - bc - - bind-utils - clang - clang-tools-extra - cmake @@ -32,6 +31,7 @@ - fossil - git - gnupg + - ldns-utils - lldb - mc - nmap diff --git a/roles/home-cli/files/bashrc b/roles/home-cli/files/bashrc index 95f139e..833d40e 100644 --- a/roles/home-cli/files/bashrc +++ b/roles/home-cli/files/bashrc @@ -117,6 +117,12 @@ then alias vi=vim fi +# Alias dig to drill if dig is not installed. +if [ -x /usr/bin/drill ] && ! [ -x /usr/bin/dig ] +then + alias dig=drill +fi + # Set up Go. if [ -x "$HOME/opt/go/bin/go" ] || [ -x /usr/bin/go ] || [ -x /usr/local/bin/go ] then