diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2020-05-18 17:10:14 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2020-05-18 17:10:14 +1200 |
commit | a46d6076edcddfd1032553d17d79db4005e6be2b (patch) | |
tree | b150c6320c5348eeed1814581b9ec7472bb57aa1 /wget | |
parent | Save wget HSTS cache in XDG_CACHE_HOME (diff) | |
download | dotfiles-a46d6076edcddfd1032553d17d79db4005e6be2b.tar.gz dotfiles-a46d6076edcddfd1032553d17d79db4005e6be2b.zip |
Move wget config into XDG
Diffstat (limited to 'wget')
-rw-r--r-- | wget/profile.d/wget.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/wget/profile.d/wget.sh b/wget/profile.d/wget.sh new file mode 100644 index 00000000..884f19ed --- /dev/null +++ b/wget/profile.d/wget.sh @@ -0,0 +1,5 @@ +# Set path to wgetrc file in XDG dirs. There's no mention of this environment +# variable in the man page! I had to check the source. +# +WGETRC=${XDG_CONFIG_HOME:-$HOME/.config}/wget/wgetrc +export WGETRC |