Swap dig with drill

This commit is contained in:
Anthony Rose 2022-02-23 10:19:18 +00:00
parent 5af6687861
commit d2ea7ed741
2 changed files with 7 additions and 1 deletions

View file

@ -24,7 +24,6 @@
- asciidoctor - asciidoctor
- aspell-en - aspell-en
- bc - bc
- bind-utils
- clang - clang
- clang-tools-extra - clang-tools-extra
- cmake - cmake
@ -32,6 +31,7 @@
- fossil - fossil
- git - git
- gnupg - gnupg
- ldns-utils
- lldb - lldb
- mc - mc
- nmap - nmap

View file

@ -117,6 +117,12 @@ then
alias vi=vim alias vi=vim
fi 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. # Set up Go.
if [ -x "$HOME/opt/go/bin/go" ] || [ -x /usr/bin/go ] || [ -x /usr/local/bin/go ] if [ -x "$HOME/opt/go/bin/go" ] || [ -x /usr/bin/go ] || [ -x /usr/local/bin/go ]
then then