zsh: chequear bien REMOTE=false

This commit is contained in:
Cat /dev/Nulo 2021-12-26 17:42:45 -03:00
parent cb30cdffd6
commit 5bc610eaa3

6
.zshrc
View file

@ -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