From 9afcf62bf3fcb96a31536c80eae12bcaed31b9bd Mon Sep 17 00:00:00 2001 From: materus Date: Wed, 10 Jun 2026 11:40:00 +0200 Subject: [PATCH] Zsh - Move MSYS to zshrc --- config/shell/zsh/zshenv | 6 ------ config/shell/zsh/zshrc | 7 +++++++ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/config/shell/zsh/zshenv b/config/shell/zsh/zshenv index d4bf403..8a3197b 100644 --- a/config/shell/zsh/zshenv +++ b/config/shell/zsh/zshenv @@ -1,7 +1 @@ -#MSYS -if [[ "$(uname -s)" =~ ^MSYS_NT.* ]]; then - export MSYS=winsymlinks:nativestrict -fi - - __MATERUS_HM_ZSH=1 \ No newline at end of file diff --git a/config/shell/zsh/zshrc b/config/shell/zsh/zshrc index 43ac5ac..de42208 100644 --- a/config/shell/zsh/zshrc +++ b/config/shell/zsh/zshrc @@ -16,6 +16,13 @@ if zmodload zsh/terminfo && (( "$terminfo[colors]" >= "256" )); then __MATERUS_ZSH_256COLORS="${__MATERUS_ZSH_256COLORS:-0}"; fi +#MSYS +if [[ "$(uname -s)" =~ ^MSYS_NT.* ]]; then + #Use windows symlink instead copy + export MSYS=winsymlinks:nativestrict +fi + + #region Plugins # Clone plugins if not exists [ -d $ZSH_DATA_DIR/plugins/powerlevel10k ] || git clone https://github.com/romkatv/powerlevel10k $ZSH_DATA_DIR/plugins/powerlevel10k