Open
Description
Expected behavior
cd $HOME
ll .bash<tab><tab> # should show files/directories that begin with .bash
Current behavior
cd $HOME
ll .bash<tab><tab> # shows all files/directories with the first four characters highlighted as if attempting completion of the ls command. Other behavior may include having all characters after the '.' deleted and showing all files/directories starting with the '.'.
Possible solution
I have not looked into it yet, but it's related to the aliases.completion.bash
being enabled.
Context
I've had to either resort to not using the ll
alias (not desirable) or disabling the aliases
completion (less desirable).
Steps to reproduce
Make sure all aliases
, completions
, and plugins
are disabled. Then:
sudo dnf install bash-completion
bash-it enable completion aliases
bash-it reload
cd $HOME
ll .bash<tab><tab>
Bash-it version
v3.0.2
List of enabled plugins, themes and aliases
Only the following is enabled:
completions: aliases
Bash version
5.2.2
Operating system and version
Fedora 36
bash-it doctor output
# How to get: bash-it doctor
→ bash-it doctor
DEBUG: core: main: Loading libraries(except appearance)...
DEBUG: lib: colors: Loading library file...
DEBUG: lib: command_duration: Loading library file...
DEBUG: lib: helpers: Loading library file...
DEBUG: lib: history: Loading library file...
DEBUG: lib: log: Loading library file...
DEBUG: lib: preexec: Loading library file...
DEBUG: lib: preview: Loading library file...
DEBUG: lib: search: Loading library file...
DEBUG: lib: utilities: Loading library file...
DEBUG: core: reloader: Loading all enabled components...
DEBUG: completion: aliases: Loading component...
DEBUG: completion: aliases: Loaded.
DEBUG: core: main: Loading theme 'font'.
DEBUG: core: main: Loading custom aliases, completion, plugins...
DEBUG: core: main: Loading general custom files...
DEBUG: aliases: custom: Loading custom file...
DEBUG: bash-it: custom: Loading custom file...
DEBUG: core: main: Command 'gloobus-preview' does not exist
Your ~/.bashrc
This should be reproducible with the default vanilla .bashrc
provided by bash-it.
# How to get: cat ~/.bashrc
Notes
No response