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

remove cleaning PS1 before init #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

LuckySB
Copy link

@LuckySB LuckySB commented Nov 11, 2020

OS: Centos7
pkg: bash-completion-2.1-8.el7.noarch.rpm

/etc/profile.d/bash_completion.sh

# Check for interactive bash and that we haven't already been sourced.
[ -z "$BASH_VERSION" -o -z "$PS1" -o -n "$BASH_COMPLETION_COMPAT_DIR" ] && return

so, when PS1="" - no source /usr/share/bash-completion/bash_completion
and type -t _get_comp_words_by_ref return empty string
autocomplete not working

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

Successfully merging this pull request may close these issues.

1 participant