feat(zsh): Add syntax highlighting

Signed-off-by: Noah Knegt <git@noahknegt.com>
This commit is contained in:
2024-04-12 14:58:12 +02:00
parent caff9495e9
commit c71fe917cf

7
.zshrc
View File

@@ -2,7 +2,8 @@
# export PATH=$HOME/bin:/usr/local/bin:$PATH # export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation. # Path to your oh-my-zsh installation.
ZSH=/usr/share/oh-my-zsh/ ZSH_CORE=/usr/share/zsh/
ZSH=$HOME/.oh-my-zsh/
# Set name of the theme to load --- if set to "random", it will # Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case, # load a random theme each time oh-my-zsh is loaded, in which case,
@@ -90,7 +91,6 @@ plugins=(
themes themes
tmux tmux
vscode vscode
zsh-autosuggestions
) )
@@ -130,6 +130,9 @@ source $ZSH/oh-my-zsh.sh
source $HOME/.config/zsh/alias.zsh source $HOME/.config/zsh/alias.zsh
source $HOME/.config/zsh/env.zsh source $HOME/.config/zsh/env.zsh
source $ZSH_CORE/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source $ZSH_CORE/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
# Starship rs # Starship rs
eval "$(starship init zsh)" eval "$(starship init zsh)"