Update globbing for zsh config files
This commit is contained in:
parent
6442b3e606
commit
c83e62f123
@ -71,11 +71,11 @@ rgenv () {
|
||||
|
||||
# Detect OS to autoload uncommon config files
|
||||
if [[ "$(uname)" =~ "Darwin" ]]; then
|
||||
for dotfile in "$XDG_CONFIG_HOME"/zsh-macos/*(.); do
|
||||
for dotfile in "$XDG_CONFIG_HOME"/zsh-macos/*zsh*(.); do
|
||||
source $dotfile
|
||||
done
|
||||
else
|
||||
for dotfile in "$XDG_CONFIG_HOME"/zsh-linux/*(.); do
|
||||
for dotfile in "$XDG_CONFIG_HOME"/zsh-linux/*zsh*(.); do
|
||||
source $dotfile
|
||||
done
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user