From d3eca9e1fb283db58cff1864f1bf4874dfe79a2f Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 3 Oct 2018 17:48:39 +0100 Subject: [PATCH] Better source zsh completions --- files/zshrc/.zshrc | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/files/zshrc/.zshrc b/files/zshrc/.zshrc index 4fcc127..7d75765 100644 --- a/files/zshrc/.zshrc +++ b/files/zshrc/.zshrc @@ -8,29 +8,26 @@ plugins=( pyenv python common-aliases - zsh-completions extract heroku ) - -source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh -export fpath=(/usr/share/zsh/site-functions $fpath) +export COMPLETION_WAITING_DOTS="true" # Enable oh-my-zsh source $ZSH/oh-my-zsh.sh -autoload -U compinit && compinit - +source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh +export fpath=(/usr/share/zsh/site-functions $fpath) +autoload -U compinit && rm -f ~/.zcompdump && compinit autoload -Uz colors && colors + local ret_status="%(?:%{$fg_bold[green]%}λ :%{$fg_bold[red]%}λ )" export PROMPT="${ret_status} %{$fg_bold[green]%}%n@%m%{$reset_color%}:%{$fg_bold[blue]%}%~%{$reset_color%}$ " -COMPLETION_WAITING_DOTS="true" alias src="source $HOME/.zshrc" - {% include "base.sh" %} {% include "environment.sh" %} {% include "applications.sh" %}