Skip to content
This repository was archived by the owner on Mar 2, 2020. It is now read-only.

illegal line count #2

Open
teameh opened this issue Nov 18, 2019 · 4 comments
Open

illegal line count #2

teameh opened this issue Nov 18, 2019 · 4 comments

Comments

@teameh
Copy link

teameh commented Nov 18, 2019

I'm getting the following error when trying the script:

$ git-commands
head: illegal line count --
~/bin/git-commands: line 31: 205 - : syntax error: operand expected (error token is " ")

Any idea what might be causing this?

$ git --version
git version 2.24.0
$ fzf --version
0.19.0 (brew)
@Cartmanishere
Copy link

The script in this repo failed at multiple places for me while running it on OSX.

You can refer to this commit to see how I modified it to work for me - Cartmanishere@a3187b9

@alpipego
Copy link

alpipego commented Jan 9, 2020

Your changes also solves an issue I had on Pop_Os!. Would you mind opening a PR with your changes @Cartmanishere?

@Cartmanishere
Copy link

@alpipego the changes I made are specific to OSX. And I'm sure it will break things on linux. I think a better way would be to figure out how to do the same things in a platform independent way.

@alpipego
Copy link

@Cartmanishere that's what I was saying in my previous comment. Your fork runs fine on Pop_OS! (which is a derivative of Ubuntu), while this repo did not run there. I didn't look into it too much, though.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants