Bash git alias tab completion error -
I know that the Git aliens can be used with logic.
But today I had an error.
Take a easy example , which is not suitable for real use . If I make a nickname like this: then I can use to view the file_A log. But when I used to complete the "tab" path, the following error occurs. Error msg: This seems to be a bug in git-completion.bash. But I do not know where `_git_ {'is! In addition to this, I think that around the quote mark _git_ in error msg {looks odd. BTW, My MScGet Version 1.7.6-Preview 20110708 Add: Other Strange Thing This is, I _git _ {. String in a file below All files under the git's dior. I think the installation of a custom completion function for git, and error In that setup, try removing the custom receipt first and see if the error has disappeared: Side note: Along with reusable arguments in the GIT for shell commands, modern idioms have to define a shell function, giving you the standard shell fragmentation process Karan has the ability to use and compared to 'sh -c', a lower level of quote is argued to deal with:
[alias] lo = "! Sh -c 'git log $ 1' -"
git lo file_a
git lo [tab]
sh: Announce: `_git_ {': valid The identifier is not
Full-R git
[alias] plush = "! F ( ) {Git bridge "\" $ @ \ "& amp; Git push \ "$ @ \"}; F "
Comments
Post a Comment