From 8a2785041c4a77b4995b93be9d7e18bd9234b5f1 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Wed, 21 Oct 2020 15:09:58 -0400 Subject: Add zsh syntax highlighting --- zsh/.zsh/fast-syntax-highlighting | 1 + zsh/.zshrc | 6 ++++++ 2 files changed, 7 insertions(+) create mode 160000 zsh/.zsh/fast-syntax-highlighting (limited to 'zsh') diff --git a/zsh/.zsh/fast-syntax-highlighting b/zsh/.zsh/fast-syntax-highlighting new file mode 160000 index 0000000..a47b508 --- /dev/null +++ b/zsh/.zsh/fast-syntax-highlighting @@ -0,0 +1 @@ +Subproject commit a47b5088636c3678c7baa22710d10b0c45bc9265 diff --git a/zsh/.zshrc b/zsh/.zshrc index 1ca1e22..cb0a9da 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -30,4 +30,10 @@ prompt pure alias ls="ls --color" +source ~/.zsh/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh +if [[ ! -f ~/.zsh/fast-syntax-highlighting/current_theme.zsh ]]; then + fpath+=$HOME/.zsh/fast-syntax-highlighting + fast-theme clean +fi + [[ -f ~/.zshrc.local ]] && source ~/.zshrc.local -- cgit v1.2.3