Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.../lib/git-hub.d/bash+.bash: line 1: ../../ext/bashplus/lib/bash+.bash: No such file or directory #254

Open
OleksiyRudenko opened this issue Oct 31, 2018 · 2 comments

Comments

@OleksiyRudenko
Copy link

OleksiyRudenko commented Oct 31, 2018

Hi!

First of all, your git-subrepo is just great and works like a charm.

I have installed git-hub under Windows Git Bash by

git clone https://github.com/ingydotnet/git-hub ~/bin/git-hub
echo 'source ~/bin/git-hub/.rc' >> ~/.bashrc

Now any git hub command reports /c/Users/oleksiy/bin/git-hub/lib/git-hub.d/bash+.bash: line 1: ../../ext/bashplus/lib/bash+.bash: No such file or directory

My idea was that default permissions under ~/bin/ might be insufficient, so I placed git-hub in a place similar to where git-subrepo is installed at (and git-subrepo works fine) and changed source instruction in .bashrc as appropriate.

Now .bashrc looks as follows:

source "/d/Program Files.portable/git.scripts/git-subrepo/.rc"
source "/d/Program Files.portable/git.scripts/git-hub/.rc"

Now Windows Git Bash at launch reports:

bash: cd: $'/d\nFiles.portable/git.scripts/git-hub': No such file or directory
bash: /c/Users/oleksiy/share/enable-completion.sh: No such file or directory

And git hub <anything> reports git: 'hub' is not a git command. See 'git --help'.

Will appreciate any suggestions on the above.

@mreedmdev
Copy link

Hi!

First of all, your git-subrepo is just great and works like a charm.

I have installed git-hub under Windows Git Bash by

git clone https://github.com/ingydotnet/git-hub ~/bin/git-hub
echo 'source ~/bin/git-hub/.rc' >> ~/.bashrc

Now any git hub command reports /c/Users/oleksiy/bin/git-hub/lib/git-hub.d/bash+.bash: line 1: ../../ext/bashplus/lib/bash+.bash: No such file or directory

My idea was that default permissions under ~/bin/ might be insufficient, so I placed git-hub in a place similar to where git-subrepo is installed at (and git-subrepo works fine) and changed source instruction in .bashrc as appropriate.

Now .bashrc looks as follows:

source "/d/Program Files.portable/git.scripts/git-subrepo/.rc"
source "/d/Program Files.portable/git.scripts/git-hub/.rc"

Now Windows Git Bash at launch reports:

bash: cd: $'/d\nFiles.portable/git.scripts/git-hub': No such file or directory
bash: /c/Users/oleksiy/share/enable-completion.sh: No such file or directory

And git hub <anything> reports git: 'hub' is not a git command. See 'git --help'.

Will appreciate any suggestions on the above.

Hi!

First of all, your git-subrepo is just great and works like a charm.

I have installed git-hub under Windows Git Bash by

git clone https://github.com/ingydotnet/git-hub ~/bin/git-hub
echo 'source ~/bin/git-hub/.rc' >> ~/.bashrc

Now any git hub command reports /c/Users/oleksiy/bin/git-hub/lib/git-hub.d/bash+.bash: line 1: ../../ext/bashplus/lib/bash+.bash: No such file or directory

My idea was that default permissions under ~/bin/ might be insufficient, so I placed git-hub in a place similar to where git-subrepo is installed at (and git-subrepo works fine) and changed source instruction in .bashrc as appropriate.

Now .bashrc looks as follows:

source "/d/Program Files.portable/git.scripts/git-subrepo/.rc"
source "/d/Program Files.portable/git.scripts/git-hub/.rc"

Now Windows Git Bash at launch reports:

bash: cd: $'/d\nFiles.portable/git.scripts/git-hub': No such file or directory
bash: /c/Users/oleksiy/share/enable-completion.sh: No such file or directory

And git hub <anything> reports git: 'hub' is not a git command. See 'git --help'.

Will appreciate any suggestions on the above.

DId make any progress on this issue?

@OleksiyRudenko
Copy link
Author

@mreedmdev no, i didn't make any progress on this. Resorted to https://github.com/github/hub instead

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

No branches or pull requests

2 participants