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 pyenv
python python
common-aliases common-aliases
zsh-completions
extract extract
heroku heroku
) )
export COMPLETION_WAITING_DOTS="true"
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
export fpath=(/usr/share/zsh/site-functions $fpath)
# Enable oh-my-zsh # Enable oh-my-zsh
source $ZSH/oh-my-zsh.sh 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 autoload -Uz colors && colors
local ret_status="%(?:%{$fg_bold[green]%}λ :%{$fg_bold[red]%}λ )" 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%}$ " 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" alias src="source $HOME/.zshrc"
{% include "base.sh" %} {% include "base.sh" %}
{% include "environment.sh" %} {% include "environment.sh" %}
{% include "applications.sh" %} {% include "applications.sh" %}