mirror of
https://github.com/materusPL/nixos-config
synced 2026-06-12 05:27:22 +02:00
Zsh - Move MSYS to zshrc
This commit is contained in:
parent
c159b6dfdd
commit
9afcf62bf3
@ -1,7 +1 @@
|
|||||||
#MSYS
|
|
||||||
if [[ "$(uname -s)" =~ ^MSYS_NT.* ]]; then
|
|
||||||
export MSYS=winsymlinks:nativestrict
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
__MATERUS_HM_ZSH=1
|
__MATERUS_HM_ZSH=1
|
||||||
@ -16,6 +16,13 @@ if zmodload zsh/terminfo && (( "$terminfo[colors]" >= "256" )); then
|
|||||||
__MATERUS_ZSH_256COLORS="${__MATERUS_ZSH_256COLORS:-0}";
|
__MATERUS_ZSH_256COLORS="${__MATERUS_ZSH_256COLORS:-0}";
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#MSYS
|
||||||
|
if [[ "$(uname -s)" =~ ^MSYS_NT.* ]]; then
|
||||||
|
#Use windows symlink instead copy
|
||||||
|
export MSYS=winsymlinks:nativestrict
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
#region Plugins
|
#region Plugins
|
||||||
# Clone plugins if not exists
|
# Clone plugins if not exists
|
||||||
[ -d $ZSH_DATA_DIR/plugins/powerlevel10k ] || git clone https://github.com/romkatv/powerlevel10k $ZSH_DATA_DIR/plugins/powerlevel10k
|
[ -d $ZSH_DATA_DIR/plugins/powerlevel10k ] || git clone https://github.com/romkatv/powerlevel10k $ZSH_DATA_DIR/plugins/powerlevel10k
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user