aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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