Only set WGETRC when ~/.config/wgetrc exists

This commit is contained in:
Kenneth Benzie 2021-08-03 14:19:08 +01:00
parent b89428cd32
commit 014dadecb2

2
zshenv
View File

@ -98,5 +98,5 @@ which rustup &> /dev/null && \
export RUSTUP_HOME=$HOME/.local/share/rustup
export PYLINTHOME=$HOME/.cache/pylint
# TODO: terminfo
which wget &> /dev/null && \
[ -f $HOME/.config/wgetrc ] &&
export WGETRC=$HOME/.config/wgetrc