Skip to content

Commit

Permalink
Merge pull request #15 from nyxnor/master
Browse files Browse the repository at this point in the history
Add zsh profile dir
  • Loading branch information
adrelanos committed Aug 28, 2023
2 parents fcb1ea8 + 35f4c23 commit 42e3034
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions etc/zsh/zshrc.dist
Expand Up @@ -6,6 +6,15 @@
## https://github.com/jeffreytse/zsh-vi-mode/blob/master/zsh-vi-mode.zsh
## https://github.com/cloudhead/dotfiles/blob/master/.zshrc

if [ -d /etc/zprofile.d ]; then
for i in /etc/zprofile.d/*.zsh; do
if [ -r $i ]; then
. $i
fi
done
unset i
fi

## base dir
zsh_custom_dir="/etc/zsh"

Expand Down Expand Up @@ -90,3 +99,6 @@ fi
if test -f /etc/zsh_command_not_found; then
source /etc/zsh_command_not_found
fi



0 comments on commit 42e3034

Please sign in to comment.