Change summary
dot_config/zsh/private_dot_zshrc.tmpl | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
Detailed changes
@@ -52,8 +52,6 @@ export ZIM_HOME="$XDG_CONFIG_HOME"/.zim
alias wget=wget --hsts-file="$XDG_DATA_HOME/wget-hsts"
alias svn="svn --config-dir $XDG_CONFIG_HOME/subversion"
-eval "$(antidot init)"
-
# ------------------
# Initialize modules
# ------------------
@@ -123,9 +121,6 @@ export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring
# Uncomment the following line if pasting URLs and other text is messed up.
# DISABLE_MAGIC_FUNCTIONS=true
-# Additional completions
-source <(charm completion zsh)
-
# Integrate z - jump around
source /usr/share/z/z.sh
@@ -184,8 +179,6 @@ export GPG_TTY="$TTY"
export SSH_AUTH_SOCK="/run/user/1000/gnupg/S.gpg-agent.ssh"
gpgconf --launch gpg-agent
-eval "$(starship init zsh)"
-
zstyle ':completion:*' completer _expand _complete _ignored _correct _approximate
zstyle ':completion:*' group-name ''
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
@@ -194,6 +187,11 @@ zstyle ':completion:*' menu select=1
zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s
zstyle :compinstall filename '/home/amolith/.config/zsh/.zshrc'
-autoload -Uz compinit
-compinit
+autoload -Uz compinit && compinit
+
+# Additional completions
+source $XDG_CONFIG_HOME/zsh/completions/charm.zsh
+source $XDG_CONFIG_HOME/zsh/completions/starship.zsh
+source $XDG_CONFIG_HOME/zsh/completions/antidot.zsh
+
compinit -d "$XDG_CACHE_HOME"/zsh/zcompdump-"$ZSH_VERSION"