diff --git a/zshrc b/zshrc index 5cd1c37..d589173 100644 --- a/zshrc +++ b/zshrc @@ -2,7 +2,8 @@ # Base directories for dotfiles. export DOTFILES=${HOME}/.dotfiles -# Autocompletion + +# Autocompletions export FPATH=${DOTFILES}/zsh/functions:${FPATH} # Base autoloading @@ -29,6 +30,7 @@ antigen bundle </dev/null` ] && export FZF_DEFAULT_OPTS="--multi --no-mouse --ansi --color=dark" +# Use Powerlevel10k if already found +if [[ -f ~/.p10k.zsh ]]; then + source ~/.p10k.zsh +fi + # Loading rvm if exists [ -f /etc/profile.d/rvm.sh ] && source /etc/profile.d/rvm.sh @@ -56,6 +63,6 @@ for file in `find $DOTFILES/zsh/aliases -iname \*.aliases.zsh -print`; do source $file done -for file in `find $DOTFILES/zsh/localconf.d -type f -iname \*.conf -print`; do +for file in `find $DOTFILES/zsh/localconf.d -type f -iname \*.conf.zsh -print | sort`; do source file done