git-extras icon indicating copy to clipboard operation
git-extras copied to clipboard

bash completion

Open khornberg opened this issue 12 years ago • 8 comments

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.

khornberg avatar Jul 07 '14 17:07 khornberg

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 avatar Jul 07 '14 19:07 khornberg

@khornberg Strange, let us see if someone else also bumps into this.

hemanth avatar Jul 08 '14 03:07 hemanth

As far as I can tell all file line endings are unix already - I suggest we close this unless others report the same issue.

jbnicolai avatar Jul 14 '14 15:07 jbnicolai

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 .

khornberg avatar Jul 14 '14 22:07 khornberg

@jbnicolai Yes, I asked that question with the same intent :+1:

hemanth avatar Jul 15 '14 03:07 hemanth

Hey, Me too bumped into the same problem.

jimymodi avatar Oct 13 '14 06:10 jimymodi

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 ?

jimymodi avatar Oct 13 '14 06:10 jimymodi

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.

nicolaiskogheim avatar Aug 11 '16 13:08 nicolaiskogheim