Fix typos in profile and shrc

This commit is contained in:
Anthony Rose 2022-08-29 20:08:16 +01:00
parent 570dc1f6ea
commit a33355e921
2 changed files with 4 additions and 4 deletions

View file

@ -31,11 +31,11 @@ export XDG_STATE_HOME="${XDG_STATE_HOME:-$HOME/.local/state}"
# Locale and language.
## Clear the existing locale settings and set options I always want.
export TZ=Europe/London # Can override this elsewhere if needed.
if [ -f /etc/locale.conf ]
if [ -r /etc/locale.conf ]
then
/etc/locale.conf
. /etc/locale.conf
fi
if [ -f "$XDG_CONFIG_HOME/locale.conf" ]
if [ -r "$XDG_CONFIG_HOME/locale.conf" ]
then
. "$XDG_CONFIG_HOME/locale.conf"
fi

View file

@ -163,7 +163,7 @@ then
export SSH_AGENT_PID="${SSH_AGENT_PID:-$XDG_STATE_HOME/ssh-agent.pid}"
if [ ! -S "$SSH_AUTH_SOCK" ]
then
ssh-agent -a "$SSH_AUTH_SOCK"
eval $(ssh-agent -a "$SSH_AUTH_SOCK")
fi
fi