Update .config/fish/conf.d/30-wget.fish

This commit is contained in:
punkfairie 2024-10-05 10:32:15 -07:00
parent fd62e6a982
commit ed5a3f21cd
Signed by: punkfairie
GPG key ID: A86AF57F837E320F

View file

@ -1,7 +1,8 @@
#!/usr/bin/env fish
set -Ux WGETRC "$XDG_CONFIG_HOME/wgetrc"
if command -v wget &>/dev/null
set -gx WGETRC "$XDG_CONFIG_HOME/wgetrc"
function wget --wraps wget
command wget --hsts-file="$XDG_CACHE_HOME/wget-hsts" $argv