Update ZSH configurations

This commit is contained in:
Fabio Scotto di Santolo
2024-12-28 19:41:24 +01:00
parent e477042df2
commit f6706fa293
5 changed files with 83 additions and 1618 deletions

View File

@@ -1,6 +1,13 @@
#!/usr/bin/env bash
if [ "$(uname -o)" == "Darwin" ]; then
export ZSH_HIGHLIGHT_DIR=/opt/homebrew/share/zsh-syntax-highlighting
export ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR=/opt/homebrew/share/zsh-syntax-highlighting/highlighters
fi
case $(uname -s) in
"Darwin")
export ZSH_HIGHLIGHT_DIR=/opt/homebrew/share/zsh-syntax-highlighting
export ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR=/opt/homebrew/share/zsh-syntax-highlighting/highlighters
;;
"Linux")
export ZSH_HIGHLIGHT_DIR=/usr/share/zsh-syntax-highlighting
export ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR=/usr/share/zsh-syntax-highlighting/highlighters
export ZSH_AUTOSUGGESTIONS_DIR=/usr/share/zsh-autosuggestions
;;
esac