1
0
Fork 0
mirror of https://gitlab.com/mlunax/dotfiles.git synced 2025-04-19 00:35:36 +00:00

add autocompletion

This commit is contained in:
Luna 2024-04-19 16:13:20 +02:00
parent 1ff498137e
commit de787ae046

7
.zshrc
View file

@ -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"