fast-syntax-highlighting

This commit is contained in:
zendesk-acicchetti 2021-11-01 11:14:42 -04:00
parent 6652fd5904
commit 23732c7703
2 changed files with 5 additions and 5 deletions

View file

@ -1,5 +1,5 @@
https://github.com/ohmyzsh/oh-my-zsh
https://github.com/zsh-users/zsh-syntax-highlighting
https://github.com/zdharma-continuum/fast-syntax-highlighting
https://github.com/zsh-users/zsh-completions
https://github.com/ress997/zsh-completions-anyenv
https://github.com/b4b4r07/zsh-vimode-visual

View file

@ -71,7 +71,7 @@ if [[ ( $ZNAP_USED = 1 ) ]]; then
znap source oh-my-zsh lib/{git,completion}
znap source oh-my-zsh plugins/colored-man-pages
fpath=($fpath ~[oh-my-zsh]/plugins/{pass,ripgrep,cargo,docker,docker-compose,rsync,fd})
znap source zsh-syntax-highlighting
znap source fast-syntax-highlighting
fpath=($fpath ~[zsh-completions]/src)
znap source zsh-vimode-visual
fi
@ -80,14 +80,14 @@ if [[ -d ~/.cargo/bin ]]; then
path=($HOME/.cargo/bin $path)
fi
autoload -Uz promptinit
promptinit
if [[ $(whence -p starship 2> /dev/null) ]]; then
znap eval starship 'starship init zsh --print-full-init'
znap prompt
znap prompt
else
if [[ ( $ZNAP_USED = 1 ) ]]; then
autoload -Uz promptinit
promptinit
znap clone https://github.com/denysdovhan/spaceship-prompt
znap prompt spaceship-prompt
fi