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

which: no binary in (path) #2

Closed
lasers opened this issue Nov 27, 2017 · 6 comments
Closed

which: no binary in (path) #2

lasers opened this issue Nov 27, 2017 · 6 comments
Labels
acknowledged bug-report Issues about bug reporting omb-next This issue has been fixed in the next oh_my_bash upgrade runs.

Comments

@lasers
Copy link

lasers commented Nov 27, 2017

After adding oh-my-bash, I get this with new terminals.

which: no aws_completer in (/usr/local/bin:/usr/bin:/bin:/snap/bin)
which: no register-python-argcomplete in (/usr/local/bin:/usr/bin:/bin:/snap/bin)
which: no jungle in (/usr/local/bin:/usr/bin:/bin:/snap/bin)
which: no kontena in (/usr/local/bin:/usr/bin:/bin:/snap/bin)
10:01:42 lasers ~ → 

It looks like some oh-my-bash completions will need to add and/or fix /dev/null.

@teon
Copy link

teon commented Jan 30, 2018

I don't understand why those binaries are necessary? I'm not using those, why should they be required?

@lasers
Copy link
Author

lasers commented Jan 30, 2018

I don't remember anymore. It might have been a random theme and I think I filed this because the missing binaries are drawing text on the screen instead of silently failing and keep going with fewer features/chars. Otherwise, the users could have to muck around with prompt and/or installing binaries if they want to use that theme for a while... and the next one.... and probably one more after that one too.

The themes should work with what users have and not the other way.

@nntoan nntoan added bug-report Issues about bug reporting help-wanted Issues that require help from third party labels Feb 12, 2018
@Amolith
Copy link

Amolith commented Feb 13, 2018

I fixed this issue on my local installation. I found the offending lines in ~/.oh-my-bash/oh-my-bash.sh and simply commented them out. I've pasted them below

#for completion_file in $OSH/completion/*.sh; do
#    custom_completion_file="${OSH_CUSTOM}/completion/${completion_file:t}"
#    [ -f "${custom_completion_file}" ] && completion_file=${custom_completion_file}
#    source $completion_file
#done

@tron-solo
Copy link

You can remove the offending .sh files from~/.oh-my-bash/completion, this should clean things up for you.

che666 added a commit to che666/oh-my-bash that referenced this issue Apr 7, 2018
…ts to /dev/null fixing: ISSUE ohmybash#2 from the master repository.
@che666
Copy link
Contributor

che666 commented Apr 7, 2018

I have made a pull request fixing the noise.

@lasers
Copy link
Author

lasers commented Jul 22, 2018

I see the pull request has been merged months ago. Closing this now! Super late thanks!

@lasers lasers closed this as completed Jul 22, 2018
@nntoan nntoan added omb-next This issue has been fixed in the next oh_my_bash upgrade runs. acknowledged and removed help-wanted Issues that require help from third party labels Jul 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
acknowledged bug-report Issues about bug reporting omb-next This issue has been fixed in the next oh_my_bash upgrade runs.
Projects
None yet
Development

No branches or pull requests

6 participants