aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-03-03 11:15:13 +0100
committerlonkaars <loek@pipeframe.xyz>2024-03-03 11:15:13 +0100
commit8f784f44ae76ddf086cfc5a1c14610d4b534180c (patch)
tree442aaa0321e85ffd513c2b91425e9797d6501fd0
parent836e2f723b9856fa6ca9eee1494fe6cdb915df2b (diff)
more cleanup
-rw-r--r--.config/wgetrc##template1
-rwxr-xr-x.config/yadm/bootstrap4
-rwxr-xr-x.config/yadm/install-arch2
-rw-r--r--.profile1
-rw-r--r--.zshrc4
5 files changed, 8 insertions, 4 deletions
diff --git a/.config/wgetrc##template b/.config/wgetrc##template
new file mode 100644
index 0000000..0a4a510
--- /dev/null
+++ b/.config/wgetrc##template
@@ -0,0 +1 @@
+hsts-file = {{ env.XDG_CACHE_HOME }}/wget-hsts
diff --git a/.config/yadm/bootstrap b/.config/yadm/bootstrap
index 97c6a13..349476d 100755
--- a/.config/yadm/bootstrap
+++ b/.config/yadm/bootstrap
@@ -55,6 +55,10 @@ endtask
endtask
)
+begintask "create XDG user directories"
+s xdg-user-dirs-update
+endtask
+
cat << EOF
bootstrap finished in $(finishtime)!
diff --git a/.config/yadm/install-arch b/.config/yadm/install-arch
index e546c92..94721c3 100755
--- a/.config/yadm/install-arch
+++ b/.config/yadm/install-arch
@@ -9,5 +9,5 @@ cd "$(dirname "$0")"
# filter comments and pipe package name list to yay
sed -e 's/#.*//g' -e 's/ //g' -e '/^$/d' packages-arch |\
- yay --noprogressbar --quiet --noconfirm --needed -S -
+ yay --noprogressbar --quiet --noconfirm --needed -Sy -
diff --git a/.profile b/.profile
index 7b3f37d..3e91f2a 100644
--- a/.profile
+++ b/.profile
@@ -80,6 +80,7 @@ export CONAN_USER_HOME="$XDG_CONFIG_HOME/conan"
alias nvidia-settings=nvidia-settings --config="$XDG_CONFIG_HOME"/nvidia/settings
alias gpg2="gpg2 --homedir $XDG_DATA_HOME/gnupg"
export PASSWORD_STORE_DIR="$XDG_DATA_HOME/pass"
+export WGETRC="$XDG_CONFIG_HOME/wgetrc"
# disable dotnet telemetry
export DOTNET_CLI_TELEMETRY_OPTOUT=1
diff --git a/.zshrc b/.zshrc
index 1303dbf..b7c0f7b 100644
--- a/.zshrc
+++ b/.zshrc
@@ -10,6 +10,7 @@ plugins=(
# oh-my-zsh
export ZSH="$HOME/.local/share/oh-my-zsh"
+export ZSH_COMPDUMP="$XDG_CACHE_HOME/zcompdump-$HOST"
source "$ZSH/oh-my-zsh.sh"
# shift-tab fix
@@ -18,6 +19,3 @@ bindkey '^[[Z' reverse-menu-complete
# zsh autocompletion
compinit -D
-# cleanup
-fork rm -rf ~/.xsession-errors ~/.xsession-errors.old ~/.zshrc.zwc ~/.lesshst ~/.lyrics ~/.android ~/.zcalc_history .git-credentials .node_repl_history .python_history
-