Better source zsh completions

This commit is contained in:
Jake Howard 2018-10-03 17:48:39 +01:00
parent 3369e009ac
commit d3eca9e1fb
Signed by: jake
GPG Key ID: 57AFB45680EDD477

View File

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