I'm not 100% sure what the exact cause or error is, but here are some test cases.
Works:
gitsh (ek-add-docs-to-readme@) ➜ !FOO='foo' git log --oneline -n 1
eeb5015 (HEAD -> ek-add-docs-to-readme, origin/ek-add-docs-to-readme) Add note about `man gitsh` to Readme.
gitsh (ek-add-docs-to-readme@) ➜
gitsh (ek-add-docs-to-readme@) ➜ !echo 'hi there'
hi there
gitsh (ek-add-docs-to-readme@) ➜
Fails:
gitsh (ek-add-docs-to-readme@) ➜ !FOO='foo bar' git log
/bin/sh: bar: command not found
gitsh (ek-add-docs-to-readme@) ➜
In my case git is an alias to hub, though I have tested without hub and the above behavior is still exhibited.
gitsh version 0.14
git version 2.20.1
hub version 2.5.0
I'm not 100% sure what the exact cause or error is, but here are some test cases.
Works:
Fails:
In my case
gitis an alias tohub, though I have tested withouthuband the above behavior is still exhibited.gitsh version
0.14git version
2.20.1hub version
2.5.0