gitconfig aliasing usando! source no funciona (zsh)
Tengo un gitconfig como este:
[alias]
l = "!source ~/.githelpers && pretty_git_log"
Cuando lo ejecuto me sale esto:
[desktop] git l
source ~/.githelpers && pretty_git_log: 1: source: not found
error: cannot run source ~/.githelpers && pretty_git_log: No such file or directory
fatal: While expanding alias 'l': 'source ~/.githelpers && pretty_git_log': No such file or directory
Cuando agrego cualquier otra versión de shell para probar, se ejecutan bien:
[alias]
l = "!echo running from the builtin"
[desktop] git l
running from the builtin
¿Alguna idea de por qué no se puede encontrar el comando fuente desde git? Estoy ejecutando zsh, pero cambiar a bash no parece hacer una diferencia:
[desktop] bash
[desktop] git l
source ~/.githelpers && pretty_git_log: 1: source: not found
error: cannot run source ~/.githelpers && pretty_git_log: No such file or directory
fatal: While expanding alias 'l': 'source ~/.githelpers && pretty_git_log': No such file or directory