Only set WGETRC if $HOME/.config/wget/rc exists

This commit is contained in:
Kenneth Benzie 2022-11-06 14:56:49 +00:00
parent 5a33d2b5ac
commit a81465daad

3
zshenv
View File

@ -101,5 +101,6 @@ export GTK2_RC_FILES=$HOME/.config/gtk-2.0/gtkrc
export PYLINTHOME=$HOME/.cache/pylint
command -v rustup &> /dev/null && \
export RUSTUP_HOME=$HOME/.local/share/rustup
export WGETRC=$HOME/.config/wget/rc
[ -f $HOME/.config/wget/rc ] && \
export WGETRC=$HOME/.config/wget/rc
# TODO: terminfo