]> src.twobees.de Git - dotfiles.git/blob - stow/oh-my-zsh/.oh-my-zsh/plugins/grc/grc.plugin.zsh
initial
[dotfiles.git] / stow / oh-my-zsh / .oh-my-zsh / plugins / grc / grc.plugin.zsh
1 #!/usr/bin/env zsh
2
3 # common grc.zsh paths
4 files=(
5   /etc/grc.zsh            # default
6   /usr/local/etc/grc.zsh  # homebrew
7 )
8
9 # verify the file is readable and source it
10 for file in $files; do
11   if [[ -r "$file" ]]; then
12     source "$file"
13     break
14   fi
15 done
16
17 unset file files