dotfiles

Clean dotfiles
git clone git://git.dimitrijedobrota.com/dotfiles.git
Log | Files | Refs |

commitcb6ce4b467e82de53d3633c548da534dea9078c5
parent4e0bc88f7376b255a3aa25a1ca54a5b8a7925b26
authorDimitrije Dobrota <mail@dimitrijedobrota.com>
dateWed, 12 Jul 2023 18:59:09 +0200

Configure wget to use XDG

Diffstat:
M.gitignore|+
M.xdg/config/bash/bash_profile|++
M.xdg/config/bash/bashrc|+++---
A.xdg/config/wgetrc|

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/.dotfiles --work-tree=$HOME'
alias wget='wget --hsts-file="$XDG_CONFIG_HOME/wget-hsts"'
export MAKEFLAGS="-j8"

diff --git a/.xdg/config/wgetrc b/.xdg/config/wgetrc