Add common .zshenv and .zprofile
This commit is contained in:
parent
023e0fbad7
commit
24290a59dd
@ -62,13 +62,12 @@ mkcd() {
|
|||||||
autoload -Uz mkcd
|
autoload -Uz mkcd
|
||||||
|
|
||||||
# Detect OS to autoload uncommon config files
|
# Detect OS to autoload uncommon config files
|
||||||
if [[ "$(uname)" == "Darwin" ]]; then
|
if [[ "$(uname)" =~ "Darwin" ]]; then
|
||||||
for dotfile in "${XDG_CONFIG_HOME}"/zsh-macos/**/*(.); do
|
for dotfile in "$XDG_CONFIG_HOME"/zsh-macos/*(.); do
|
||||||
source $dotfile
|
source $dotfile
|
||||||
done
|
done
|
||||||
test -e /Users/etorres/.config/zsh/.iterm2_shell_integration.zsh && source /Users/etorres/.config/zsh/.iterm2_shell_integration.zsh || true
|
|
||||||
else
|
else
|
||||||
for dotfile in "${XDG_CONFIG_HOME}"/zsh-linux/**/*; do
|
for dotfile in "$XDG_CONFIG_HOME"/zsh-linux/*(.); do
|
||||||
source $dotfile
|
source $dotfile
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
0
zsh/.zprofile
Normal file
0
zsh/.zprofile
Normal file
0
zsh/.zshenv
Normal file
0
zsh/.zshenv
Normal file
Loading…
x
Reference in New Issue
Block a user