bash completion
Not sure if this is a bug or not. I just ran the one liner on Ubuntu 14.04 which worked well. Upon opening terminal, I got an error:
: command not found
bash: /etc/bash_completion.d/git-extras: line 3: syntax error near unexpected token `$'{\r''
'ash: /etc/bash_completion.d/git-extras: line 3: `_git_bug(){
Fixed by running dos2unix on the file.
After fixing that, I tried to use git-feature which ran into a line ending problem as well. Fixed by running dos2unix on all of the files. I'm not sure if this is just my system so I'm adding it here in case others run into it.
@khornberg Strange, let us see if someone else also bumps into this.
As far as I can tell all file line endings are unix already - I suggest we close this unless others report the same issue.
Okay. Must just be me. Not a big problem.
Kyle
On Mon, Jul 14, 2014 at 10:06 AM, Joshua Appelman [email protected] wrote:
As far as I can tell all file line endings are unix already - I suggest we close this unless others report the same issue.
— Reply to this email directly or view it on GitHub https://github.com/visionmedia/git-extras/issues/233#issuecomment-48911470 .
@jbnicolai Yes, I asked that question with the same intent :+1:
Hey, Me too bumped into the same problem.
After fixing with dos2unix. Getting one more error
fatal: 'summary' appears to be a git command, but we were not able to execute it. Maybe git-summary is broken?
Any idea ?
Closing as this is old, and I'm pretty sure this isn't an issue anymore. If anyone still experiences this, please let us know.