fix: Try to fix completion

This commit is contained in:
2026-08-23 16:17:05 +02:00
parent 1a7a850efa
commit 34e2e7193c
2 changed files with 6 additions and 1 deletions
+4
View File
@@ -83,6 +83,10 @@ _source_dir_files "${BASH_CONFIG_DIR}"/aliases.d
# already be wired by the distro itself, typically via # already be wired by the distro itself, typically via
# /etc/profile.d/bash_completion.sh for login shells and the package's # /etc/profile.d/bash_completion.sh for login shells and the package's
# own non-login hook — no need to re-source it manually here. # own non-login hook — no need to re-source it manually here.
#
# Use bash-completion, if available
[[ $PS1 && -f /usr/share/bash-completion/bash_completion ]] && \
. /usr/share/bash-completion/bash_completion
_source_file_if_exists ~/.bash_completion _source_file_if_exists ~/.bash_completion
_source_file_if_exists "${BASH_CONFIG_DIR}"/completion _source_file_if_exists "${BASH_CONFIG_DIR}"/completion
+2 -1
View File
@@ -1,3 +1,4 @@
if (command -v mise &>/dev/null); then if (command -v mise &>/dev/null); then
source <(mise completion bash --include-bash-completion-lib) #source <(mise completion bash --include-bash-completion-lib)
source <(mise completion bash)
fi fi