Skip to content

Commit

Permalink
source local bash-completion
Browse files Browse the repository at this point in the history
  • Loading branch information
albertodonato committed Feb 8, 2024
1 parent 3cf76e9 commit 1e29694
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rc.d/300-completion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
# only load completion for interactive shells
if [[ $- == *i* ]]; then
source_if_exists /etc/bash_completion
if [ -d "$HOME"/.bash_completion.d ]; then
source_many "$HOME"/.bash_completion.d/*
fi

_bcomp_s() {
local cur="${COMP_WORDS[COMP_CWORD]}"
Expand Down

0 comments on commit 1e29694

Please sign in to comment.