]> arthur.barton.de Git - ax-zsh.git/blob - default_plugins/bash_completion/bash_completion.zshrc
googler: Show browser output by default
[ax-zsh.git] / default_plugins / bash_completion / bash_completion.zshrc
1 # AX-ZSH: Alex' Modular ZSH Configuration
2 # bash_completion.zshrc: Setup bash(1) completion
3
4 # Define some "dummy functions"
5 _init_completion() { return 0 }
6
7 autoload -Uz bashcompinit || return 1
8 bashcompinit
9
10 for dir (
11         /etc/bash_completion.d
12         /usr/local/etc/bash_completion.d
13 ); do
14         # Read in all completion functions ...
15         for file ("$dir/"*(N)); do
16                 # Ignore errors ...
17                 source "$file" 2>/dev/null
18         done
19 done
20 unset dir