mirror of
https://github.com/rydesun/dotfiles.git
synced 2025-12-26 14:44:58 +08:00
Fix zsh env
This commit is contained in:
parent
e1e421fcc5
commit
d4e04a0415
1 changed files with 1 additions and 1 deletions
2
.zshrc
2
.zshrc
|
|
@ -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
|
||||
|
||||
### 外部资源
|
||||
# 本地插件
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue