From 0385a8bd201ac705d5a449d04241d6dfed87fb54 Mon Sep 17 00:00:00 2001 From: Joshua Finch Date: Sun, 9 Feb 2025 16:31:45 -0600 Subject: [PATCH] Adding into the zshrc config some autocompletion items and a local override custom file --- zshrc | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/zshrc b/zshrc index 6a2d800..040e035 100644 --- a/zshrc +++ b/zshrc @@ -45,6 +45,17 @@ source $ZSH/oh-my-zsh.sh setopt NO_clobber # Do not clobber files by default setopt hist_ignore_all_dups # Replace old history with the newest call to an identical call setopt hist_ignore_space # Remove history lines that start with spaces +setopt correctall # Correct commands + +# Enable compinit advanced completion +autoload -Uz compinit +compinit + +# Completion options +# Give descriptions of what the types of completions given +zstyle ':completion:*:descriptions' format '%U%B%d%b%u' +# Give an actual output when there is no match +zstyle ':completion:*:warnings' format '%BNo matches for: %d%b' ### User configuration export EDITOR=nvim @@ -79,6 +90,7 @@ timezsh() { include_files=( "$HOME/.zsh_aliases" "$HOME/.zsh_exports" + "$HOME/.zsh_local" ) for file in $include_files; do