commit 307591cd26bf4a5f4a50245a634d488bd06f7ece
parent 5f96dfd21b3cdc62c8992f44d2a1985181ad4280
Author: Dimitrije Dobrota <mail@dimitrijedobrota.com>
Date: Wed, 12 Jul 2023 20:59:09 +0200
Configure wget to use XDG
Diffstat:
4 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -6,5 +6,6 @@
.ssh
.xdg/cache
+.xdg/config/wget-hsts
.xdg/data
.xdg/state
diff --git a/.xdg/config/bash/bash_profile b/.xdg/config/bash/bash_profile
@@ -11,3 +11,5 @@ export VIMINIT='let $MYVIMRC="$XDG_CONFIG_HOME/vim/vimrc" | source $MYVIMRC'
export PASSWORD_STORE_DIR="$XDG_DATA_HOME/pass-store"
export PASSWORD_STORE_ENABLE_EXTENSIONS=true
export PASSWORD_STORE_EXTENSIONS_DIR=/usr/local/lib/password-store/extensions
+
+export WGETRC="$XDG_CONFIG_HOME/wgetrc"
diff --git a/.xdg/config/bash/bashrc b/.xdg/config/bash/bashrc
@@ -5,7 +5,7 @@
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
-# alias ls='ls --color=auto'
-# alias grep='grep --color=auto'
-# PS1='[\u@\h \W]\$ '
alias dotfiles='/usr/bin/git --git-dir=/home/magaknuto/.dotfiles --work-tree=/home/magaknuto'
+alias wget='wget --hsts-file="$XDG_CONFIG_HOME/wget-hsts"'
+
+export MAKEFLAGS="-j8"
diff --git a/.xdg/config/wgetrc b/.xdg/config/wgetrc