summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--zsh/.config/zsh/.zshrc7
1 files changed, 4 insertions, 3 deletions
diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc
index c490701..63b60b6 100644
--- a/zsh/.config/zsh/.zshrc
+++ b/zsh/.config/zsh/.zshrc
@@ -146,7 +146,7 @@ zplugin ice wait'[[ -n ${ZLAST_COMMANDS[(r)rm*]} ]]' lucid
 zplugin load "MikeDacre/careful_rm"
 
 ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=7"
-zplugin ice wait'1' lucid
+zplugin ice wait'1' lucid if'[[ -z $SSH_CLIENT ]]'
 zplugin load "zsh-users/zsh-autosuggestions"
 
 zplugin ice wait'1' lucid
@@ -206,6 +206,7 @@ then
   unsetopt zle
 else
   AGKOZAK_PROMPT_DIRTRIM=0
+  AGKOZAK_LEFT_PROMPT_ONLY=$SSH_CLIENT
 
   check_kubectl_context () {
     if [[ "$PWD" =~ /kubernetes ]]
@@ -248,6 +249,6 @@ fi
 
 unsetopt flow_control       # Let me use ^S and ^Q
 
-zplugin ice wait'1' lucid #atinit'zpcompinit; zpcdreplay -q'
-zplugin light "zdharma/fast-syntax-highlighting"
+zplugin ice wait'1' if'[[ -z $SSH_CLIENT ]]' lucid #atinit'zpcompinit; zpcdreplay -q'
+zplugin load "zdharma/fast-syntax-highlighting"