# Watch command output with 2 second interval.
# Usage: w <COMMAND>
function w() {
watch -n 2 "${@}"
}
# Watch command output with minimal interval.
# Usage: ww <COMMAND>
function ww() {
watch -n 0 "${@}"
# autocomplete.
complete -F _autocomplete_nested w ww