zsh: chequear bien REMOTE=false
This commit is contained in:
parent
cb30cdffd6
commit
5bc610eaa3
1 changed files with 3 additions and 3 deletions
6
.zshrc
6
.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
|
||||
|
|
Loading…
Reference in a new issue