aboutsummaryrefslogtreecommitdiff
path: root/wget/profile.d/wget.sh
diff options
context:
space:
mode:
Diffstat (limited to 'wget/profile.d/wget.sh')
-rw-r--r--wget/profile.d/wget.sh5
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