dotfiles/.bash_completion
Lexi Stelter 9b2fa59ed8 dotfiles script v0.4.2
- change bash completion from single file to per-directory (~/.bash_completion.d/)
2019-02-19 15:47:19 +01:00

11 lines
231 B
Bash

# ~/.bash_completion - Custom bash auto completions
shopt -s nullglob
# Include all files from ~/.bash_completion.d/
if [[ -d ~/.bash_completion.d ]]; then
for f in ~/.bash_completion.d/*; do
[[ -f "$f" ]] && . "$f"
done
fi