rtomayko / git-sh

A customized bash environment suitable for git work.
GNU General Public License v2.0
737 stars 83 forks source link

Syntax error when exporting ~/.gitconfig aliases as top-level commands #7

Closed kolobos closed 13 years ago

kolobos commented 13 years ago

"syntax error near unexpected token `('"

for

lg = log --graph --all --pretty=format:'%Cred%h%Creset %C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative

rtomayko commented 13 years ago

allow git alias commands with single quotes

This works around alias commands like:

lg = log --graph --all --pretty=format:'blah blah'

It makes it impossible to use double-quotes however.

Closed by a9a9083778a4312923e66d2c89633e5e17c7d8b1