ohmybash / oh-my-bash

A delightful community-driven framework for managing your bash configuration, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
https://ohmybash.github.io
MIT License
5.55k stars 626 forks source link

Some autocompletion features not working in omb #462

Closed fangnan99 closed 11 months ago

fangnan99 commented 11 months ago

Normally in bash, I was able to get directory autocompletion in python arguments, e.g. python some_script.py -p <here normal bash could autocomplete directories>

With OMB, I don't get this kind of completions anymore

akinomyoga commented 11 months ago

It's not OMB. As far as I know, OMB doesn't provide completions for python, but OMB automatically loads an external library bash-completion when OMB detects it in the system. The behavior that arguments to a python script do not complete is caused by bash-completion.

akinomyoga commented 11 months ago

The problem was fixed in the upstream bash-completion (https://github.com/scop/bash-completion/pull/1018).