diff --git a/zsh/zsh_plugins.txt b/zsh/zsh_plugins.txt index 101faf5..d6cbee8 100644 --- a/zsh/zsh_plugins.txt +++ b/zsh/zsh_plugins.txt @@ -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 diff --git a/zsh/zshrc b/zsh/zshrc index 262b7f5..5189a76 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -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