diff --git a/.zshrc b/.zshrc index d912fa8..6c65bce 100644 --- a/.zshrc +++ b/.zshrc @@ -31,7 +31,7 @@ precmd () { vcs_info } setopt promptsubst PS1='%F{5}%3~ ${vcs_info_msg_0_}%f%# ' -test "$REMOTE" && PS1='%n@%m '$PS1 +"$REMOTE" && PS1='%n@%m '$PS1 alias ls='ls --color=always' alias grep='grep --color=always' @@ -43,9 +43,9 @@ alias r="trash -r" source /usr/share/fzf/key-bindings.zsh source ~/.config/zsh/bg_notify.zsh -test ! "$REMOTE" && source ~/.config/zsh/osc_7.zsh +! "$REMOTE" && source ~/.config/zsh/osc_7.zsh -if test ! "$REMOTE"; then +if ! "$REMOTE"; then unset SSH_AGENT_PID if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then # Start if not started