The gitfa Shell function fails under Zsh.
In Zsh, the result of parameter substitution is not split into words (it's a feature, not a bug).
Solutions to have the common sh behavior are:
- setopt shwordsplit
- setopt rcexpandparam
- use an array
- use an alias
Also, the for loop does not split on line returns (\n), only on spaces.
- is required by
-
NXBT-1100 Jobs must call POSIX or explicit BASH scripts
- Open