diff --git a/default/bash/shell b/default/bash/shell index 823129e..424ead2 100644 --- a/default/bash/shell +++ b/default/bash/shell @@ -5,7 +5,9 @@ HISTSIZE=32768 HISTFILESIZE="${HISTSIZE}" # Autocompletion -# source /usr/share/bash-completion/bash_completion +if [[ ! -v BASH_COMPLETION_VERSINFO && -f /usr/share/bash-completion/bash_completion ]]; then + source /usr/share/bash-completion/bash_completion +fi # Set complete path export PATH="./bin:$HOME/.local/bin:$HOME/.local/share/omarchy/bin:$PATH" diff --git a/install/3-terminal.sh b/install/3-terminal.sh index 79afcda..cb600b5 100644 --- a/install/3-terminal.sh +++ b/install/3-terminal.sh @@ -3,4 +3,4 @@ yay -S --noconfirm --needed \ fd eza fzf ripgrep zoxide bat \ wl-clipboard fastfetch btop \ man tldr less whois plocate \ - alacritty + alacritty bash-completion diff --git a/migrations/1751821819.sh b/migrations/1751821819.sh new file mode 100644 index 0000000..0978dc0 --- /dev/null +++ b/migrations/1751821819.sh @@ -0,0 +1,2 @@ +echo "Install bash-completion" +yay -S --noconfirm --needed bash-completion