Fix zsh env

This commit is contained in:
rydesun 2022-10-26 12:42:27 +08:00
parent e1e421fcc5
commit d4e04a0415

2
.zshrc
View file

@ -18,7 +18,7 @@ Z_COMPCACHE_DIR="$Z_COMP_DIR"/zcompcache
# 是否在kitty中
[[ $TERM == 'xterm-kitty' ]] && Z_ENV_KITTY=1
# 是否在桌面
[[ -n $DISPLAY || $Z_ENV_KITTY != 0 ]] && Z_ENV_DESKTOP=1
[[ -n $DISPLAY || $Z_ENV_KITTY -gt 0 ]] && Z_ENV_DESKTOP=1
### 外部资源
# 本地插件