Set XAUTHORITY only if it isn't already set (openssh sets it to nonstandard
location).
This commit is contained in:
parent
6105fbc864
commit
4745559118
3
.zshenv
3
.zshenv
|
@ -102,7 +102,10 @@ elif [ -x /usr/local/bin/less ]
|
||||||
then
|
then
|
||||||
export PAGER="/usr/local/bin/less -i"
|
export PAGER="/usr/local/bin/less -i"
|
||||||
fi
|
fi
|
||||||
|
if [ -z "$XAUTHORITY" ]
|
||||||
|
then
|
||||||
export XAUTHORITY=$HOME/.Xauthority
|
export XAUTHORITY=$HOME/.Xauthority
|
||||||
|
fi
|
||||||
|
|
||||||
case "$HOST" in
|
case "$HOST" in
|
||||||
*.*)
|
*.*)
|
||||||
|
|
Loading…
Reference in New Issue