You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I start up bash and source the completions file I get an error when trying to tab complete. I type tmux at and hit <tab>, expecting for it to show me the options starting with attach. Instead I get the error: bash: _get_comp_words_by_ref: command not found added to my command line.
I use zsh these days over bash, so it is possible something has gone wonky with my bash setup. I can tab-complete other things.
The full terminal session is below.
bash-4.2$ ls
README.md completions
bash-4.2$ source completions/tmux
bash-4.2$ tmux atbash: _get_comp_words_by_ref: command not found
The text was updated successfully, but these errors were encountered:
I suggest putting something in the README about a dependency on bash_completion, or on a preferred distribution mechanism that might take care of this automatically. To the best of my knowledge (at least on Mac), bash_completion has to be installed and managed by the user. When I encountered the error and didn't see any setup instructions in the README, I assumed all I had to do was source it.
This emerged from a discussion on a PR at the
bash-completion
repo.When I start up bash and source the completions file I get an error when trying to tab complete. I type
tmux at
and hit<tab>
, expecting for it to show me the options starting withattach
. Instead I get the error:bash: _get_comp_words_by_ref: command not found
added to my command line.I use
zsh
these days overbash
, so it is possible something has gone wonky with mybash
setup. I can tab-complete other things.The full terminal session is below.
The text was updated successfully, but these errors were encountered: