Обновление ohmyzsh
This commit is contained in:
17
zsh/plugins/grc/grc.plugin.zsh
Normal file
17
zsh/plugins/grc/grc.plugin.zsh
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user