aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bashrc1
-rwxr-xr-x.local/bin/wget2
2 files changed, 2 insertions, 1 deletions
diff --git a/.bashrc b/.bashrc
index 624c3a6..6cb4535 100644
--- a/.bashrc
+++ b/.bashrc
@@ -101,7 +101,6 @@ alias rofi='rofi -cache-dir $XDG_DATA_HOME'
alias sh='dash'
alias tidy='tidy -config $HOME/.config/tidy.conf'
alias units='units --history "$XDG_CACHE_HOME"/units_history'
-alias wget='wget --hsts-file $HOME/.cache/wget.history'
# nix helpers
nix-which() { readlink "$(type -P "$1")"; }
diff --git a/.local/bin/wget b/.local/bin/wget
new file mode 100755
index 0000000..ca229b3
--- /dev/null
+++ b/.local/bin/wget
@@ -0,0 +1,2 @@
+#!/bin/sh -eu
+$(which wget --all | grep -v "local/bin" | head -n 1) --hsts-file "$HOME/.cache/wget.history" "$@";