From de787ae04632c23ee3d262e76f7425fb5276ed66 Mon Sep 17 00:00:00 2001 From: Luna Komorebi Date: Fri, 19 Apr 2024 16:13:20 +0200 Subject: [PATCH] add autocompletion --- .zshrc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.zshrc b/.zshrc index 727da8a..1781f21 100644 --- a/.zshrc +++ b/.zshrc @@ -1,5 +1,7 @@ DISABLE_AUTO_UPDATE=true +autoload -Uz compinit && compinit + iscmd() { command -v "$1" > /dev/null } @@ -24,8 +26,6 @@ else plugins="$HOME/.local/share/zsh-plugins" fi -source "$plugins/zsh-autosuggestions/zsh-autosuggestions.zsh" -source "$plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" ## History file configuration HISTFILE="$HOME/.zsh_history" @@ -75,5 +75,6 @@ if [ -d "$HOME/.zsh-custom" ]; then fi DISABLE_MAGIC_FUNCTIONS=true -# autoload -Uz compinit && compinit -i source $OTHER/func.zsh +source "$plugins/zsh-autosuggestions/zsh-autosuggestions.zsh" +source "$plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"