You have a couple of misconceptions:
-
Julia commands have nothing to do with your shell.
rundoesn’t “shell-out”, it spawns a child process directly. -
When you call
git diff, it’s git (not zsh) the program that decides to use a pager.
If you don’t want to use a pager with git, maybe you could use the --no-pager option:
git --no-pager diff