aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-06-23 20:05:13 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-06-23 20:05:13 +1200
commit507989e6476732224836d9a948713ce283893563 (patch)
tree0955e384fb1f3c2ca5c89b1825c97a7f62aa1706
parenta62fb7bac4a43c105c54fd19511b7fe9ae6cc706 (diff)
downloaddotfiles-507989e6476732224836d9a948713ce283893563.tar.gz
dotfiles-507989e6476732224836d9a948713ce283893563.zip
Add a simple wgetrc
Mostly use cURL admittedly, but these look sensible
-rw-r--r--Makefile4
-rw-r--r--wget/wgetrc14
2 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d498f4c6..38d54d07 100644
--- a/Makefile
+++ b/Makefile
@@ -42,6 +42,7 @@
install-vim-gui-config \
install-vim-pathogen \
install-vim-plugins \
+ install-wget \
install-x \
install-zsh \
check \
@@ -483,6 +484,9 @@ install-vim-pathogen: install-vim-plugins
mkdir -p -- $(HOME)/.vim/autoload
ln -fs -- ../bundle/pathogen/autoload/pathogen.vim $(HOME)/.vim/autoload
+install-wget:
+ cp -p -- wget/wgetrc $(HOME)/.wgetrc
+
install-x: check-xinit
mkdir -p -- \
$(HOME)/.config \
diff --git a/wget/wgetrc b/wget/wgetrc
new file mode 100644
index 00000000..eb3f20ba
--- /dev/null
+++ b/wget/wgetrc
@@ -0,0 +1,14 @@
+# No, no, dig UP, stupid
+no_parent = on
+
+# Don't take no for an answer
+retry_connrefused = on
+
+# It's the only thing that works against the machines
+robots = off
+
+# Shorten default timeout
+timeout = 60
+
+# Reduce default number of attempts
+tries = 3