From c003ff2c40d0464cc54c72a0cd9039b9dd616adf Mon Sep 17 00:00:00 2001 From: brethil Date: Sun, 8 Mar 2020 23:48:13 +0100 Subject: [PATCH] zsh: fix completion mess --- brethil_dotfile.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/brethil_dotfile.sh b/brethil_dotfile.sh index 6260ad9..d9b949c 100755 --- a/brethil_dotfile.sh +++ b/brethil_dotfile.sh @@ -1,8 +1,7 @@ # Check for update, set DISABLE_UPDATE_PROMPT=yes to disable the prompt and automatically update env DISABLE_UPDATE_PROMPT=$DISABLE_UPDATE_PROMPT DOTFILES=$DOTFILES zsh -f $DOTFILES/check_for_update.sh -autoload -Uz compinit -compinit + source <(antibody init) export ZSH=$(antibody path robbyrussell/oh-my-zsh) export ZSH_THEME="brethil" @@ -18,6 +17,9 @@ fi # Enable zsh autocorrection setopt CORRECT_ALL +# Fix command completions on aliases +setopt completealiases + ## Misc environment variables # https://www.xkcd.com/378/