Correzioni a zshrc.
This commit is contained in:
parent
4c7528f5cb
commit
02d62ba1b2
11
zshrc
11
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 <<BUNDLES
|
||||
command-not-found
|
||||
common-aliases
|
||||
copyfile
|
||||
fd
|
||||
fzf
|
||||
git
|
||||
pip
|
||||
@ -48,6 +50,11 @@ export ZSH_TMUX_CONFIG=${HOME}/.config/tmux/tmux.conf
|
||||
# FZF default options
|
||||
[ -x `which fzf 2>/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
|
||||
|
Loading…
Reference in New Issue
Block a user