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

source command fails #6

Closed
ahabra opened this issue Mar 6, 2018 · 4 comments
Closed

source command fails #6

ahabra opened this issue Mar 6, 2018 · 4 comments
Labels
macOS 🍎 Issues related to macOS

Comments

@ahabra
Copy link

ahabra commented Mar 6, 2018

when I run:

source path/to/goto.bash

I get this error:
goto.bash:273: command not found: complete

I use a Mac.

@iridakos iridakos added documentation 📚 bug 🐛 Something isn't working macOS 🍎 Issues related to macOS and removed documentation 📚 bug 🐛 Something isn't working labels Mar 6, 2018
@iridakos
Copy link
Owner

iridakos commented Mar 6, 2018

Hi @ahabra

Can you please check this thread and let me know if it fixes your issue?

It has to do with your current macOS setup - missing bash_completion probably.

@TheOffender
Copy link

confirmed that adding the lines:
autoload bashcompinit
bashcompinit
before sourcing goto.bash in ~/.bashrc works like a charm.

@iridakos
Copy link
Owner

iridakos commented Mar 6, 2018

@pm190618 Thank you 👍 !

@ahabra I'm closing the issue. If you still can't make it work feel free to reopen it. 🤞

@iridakos iridakos closed this as completed Mar 6, 2018
@ahabra
Copy link
Author

ahabra commented Mar 7, 2018

@pm190618 Your suggestion fixed the problem. Thank you.

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

No branches or pull requests

3 participants