I type the same flags on nearly every dig call. A small dotfile saves them.
echo '+noall +answer' > ~/.digrc
dig example.com A
dig -r example.com A
dig reads $HOME/.digrc on startup and applies its options before the ones on the command line. With the file above, every query prints only the answer section. A flag typed later overrides the file, so dig +all example.com shows everything again, and -r skips the file completely, which is useful in scripts that need predictable output. A different server on the command line still works as usual.
Further reading: dig manual page
Going deeper: Guide: dig for beginners, look up DNS records and read the answer