summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--zsh/.config/zsh/.zshrc23
1 files changed, 15 insertions, 8 deletions
diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc
index dbe473c..2ebb50d 100644
--- a/zsh/.config/zsh/.zshrc
+++ b/zsh/.config/zsh/.zshrc
@@ -10,7 +10,21 @@ eval "$(lesspipe.sh)"
# Luke's config for the Zoomer Shell
-[ -f /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme ] && source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme || source ${XDG_DATA_HOME:-$HOME/.local/share}/powerlevel10k/powerlevel10k.zsh-theme
+if [ -f /etc/os-release ]
+then
+ . /etc/os-release
+else
+ ID=`uname -s`
+fi
+case "$ID" in
+ Darwin )
+ source /usr/local/opt/powerlevel10k/powerlevel10k.zsh-theme
+ ;;
+ * )
+ [ -f /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme ] && source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme || source ${XDG_DATA_HOME:-$HOME/.local/share}/powerlevel10k/powerlevel10k.zsh-theme
+ ;;
+esac
+
# Enable colors and change prompt:
autoload -U colors && colors # Load colors
@@ -54,13 +68,6 @@ _dotnet_zsh_complete()
compctl -K _dotnet_zsh_complete dotnet
-if [ -f /etc/os-release ]
-then
- . /etc/os-release
-else
- ID=`uname -s`
-fi
-
case "$ID" in
debian | ubuntu )
source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh