For fish shell:
$ git diff --no-index (brew deps --installed | cut -d':' -f2- | tr ' ' "\n" | sed '/^$/d' | sort | uniq | psub) (brew list | psub)
For fish shell:
$ git diff --no-index (brew deps --installed | cut -d':' -f2- | tr ' ' "\n" | sed '/^$/d' | sort | uniq | psub) (brew list | psub)