zsh:profile: More XDG Base Dir env-vars + wgetrc
Use an environment variable and a wgetrc instead of an alias for wget to enforce the XDG Base Directory Specification so that script calls respect it too.
This commit is contained in:
@@ -12,10 +12,6 @@
|
||||
alias feh='feh -.'
|
||||
|
||||
# XDG Base Directory Specification
|
||||
alias wget='
|
||||
wget --config="${XDG_CONFIG_HOME:-$HOME/.config}/wget/wgetrc" \
|
||||
--hsts-file="${XDG_DATA_HOME:-$HOME/.local/share}/wget/wget-hsts"
|
||||
'
|
||||
alias tmux='tmux -f "${XDG_CONFIG_HOME:-$HOME/.config}/tmux/tmux.conf"'
|
||||
alias tmsu='tmsu -D "${XDG_DATA_HOME:-$HOME/.local/share}/tmsu/db"'
|
||||
alias yarn='yarn --use-yarnrc "${XDG_CONFIG_HOME:-$HOME/.config}"/yarn/config'
|
||||
|
||||
Reference in New Issue
Block a user