diff --git a/dot_config/fish/conf.d/30-wget.fish b/dot_config/fish/conf.d/30-wget.fish index 70973c8..4b35ea0 100644 --- a/dot_config/fish/conf.d/30-wget.fish +++ b/dot_config/fish/conf.d/30-wget.fish @@ -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