New
gitsh v0.12
New features
- Split commands over multiple lines, by escaping line breaks, or using line breaks after logical operators and within parentheses (George Brocklehurst)
- Split arguments over multiple lines, by using line breaks inside quoted strings (George Brocklehurst)
- Group commands with parentheses to override default operator precedence, e.g.
(foo || bar) && baz(George Brocklehurst) - Use
:cdwith no arguments to change to the repository's root directory (George Brocklehurst) - New
$_rootmagic variable, which evaluates to the repository's root directory (George Brocklehurst) - Use Git options directly, e.g. you can now type
--versionto see the version of Git you're using (George Brocklehurst)
Bug fixes
- More robust subshell parsing, e.g.
$(:echo ")")now works as expected (George Brocklehurst & Adam Sharp) - Catch parse errors in subshells earlier (George Brocklehurst & Adam Sharp)
- Exit with a non-zero status when a non interactive session encounters a parse error (George Brocklehurst)
Internals
- Complete parser re-write, replacing a Parslet PEG with an RLTK CFG (George Brocklehurst)