Shellcheck fixes.
This commit is contained in:
parent
c0c5b24a6b
commit
c98734a913
@ -16,7 +16,7 @@ setopt SHARE_HISTORY
|
|||||||
setopt INC_APPEND_HISTORY
|
setopt INC_APPEND_HISTORY
|
||||||
|
|
||||||
# set path
|
# set path
|
||||||
path=(~/.local/bin "$path[@]")
|
path=(~/.local/bin "${path[@]}")
|
||||||
|
|
||||||
# source configuration
|
# source configuration
|
||||||
source $ZDOTDIR/aliases.zsh
|
source $ZDOTDIR/aliases.zsh
|
||||||
@ -26,12 +26,12 @@ source $ZDOTDIR/keys.zsh
|
|||||||
source $ZDOTDIR/fzf.zsh
|
source $ZDOTDIR/fzf.zsh
|
||||||
|
|
||||||
# source modules
|
# source modules
|
||||||
source ~/.local/git/zsh_modules/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh
|
source $HOME/.local/git/zsh_modules/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh
|
||||||
source ~/.local/git/zsh_modules/wd/wd.plugin.zsh
|
source $HOME/.local/git/zsh_modules/wd/wd.plugin.zsh
|
||||||
export WD_CONFIG=$XDG_CONFIG_HOME/wd_list
|
export WD_CONFIG=$XDG_CONFIG_HOME/wd_list
|
||||||
|
|
||||||
# set fpath
|
# set fpath
|
||||||
fpath=(~/.local/git/zsh_modules/wd $fpath)
|
fpath=(~/.local/git/zsh_modules/wd "$fpath")
|
||||||
|
|
||||||
# theme and colors
|
# theme and colors
|
||||||
if [[ $(command -v vivid) ]]; then
|
if [[ $(command -v vivid) ]]; then
|
||||||
@ -52,11 +52,6 @@ if [ ! -e $XDG_DATA_HOME/zsh/zcompdump.zwc ]; then
|
|||||||
autoload -Uz zrecompile
|
autoload -Uz zrecompile
|
||||||
zrecompile -p -R $XDG_DATA_HOME/zsh/zcompdump
|
zrecompile -p -R $XDG_DATA_HOME/zsh/zcompdump
|
||||||
fi
|
fi
|
||||||
if [[ -n $XDG_DATA_HOME/zsh/zcompdump(#qN.mh+24) ]]; then
|
|
||||||
compinit -d $XDG_DATA_HOME/zsh/zcompdump
|
|
||||||
else
|
|
||||||
compinit -C -d $XDG_DATA_HOME/zsh/zcompdump
|
|
||||||
fi
|
|
||||||
|
|
||||||
# quick note functionality
|
# quick note functionality
|
||||||
if [[ -f ~/.note ]]; then
|
if [[ -f ~/.note ]]; then
|
||||||
@ -69,6 +64,6 @@ fi
|
|||||||
rm -rf ~/.warprc
|
rm -rf ~/.warprc
|
||||||
|
|
||||||
# local settings
|
# local settings
|
||||||
if [[ -f ~/.local/config/zsh ]]; then
|
if [[ -f $HOME/.local/config/zsh ]]; then
|
||||||
source ~/.local/config/zsh
|
source $HOME/.local/config/zsh
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user