You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
279 B
17 lines
279 B
#!/usr/bin/env zsh
|
|
|
|
# common grc.zsh paths
|
|
files=(
|
|
/etc/grc.zsh # default
|
|
/usr/local/etc/grc.zsh # homebrew
|
|
)
|
|
|
|
# verify the file is readable and source it
|
|
for file in $files; do
|
|
if [[ -r "$file" ]]; then
|
|
source "$file"
|
|
break
|
|
fi
|
|
done
|
|
|
|
unset file files
|