|
@ -1,48 +1,9 @@ |
|
|
FREECIV_DATA_PATH=$HOME/.config/freeciv |
|
|
|
|
|
|
|
|
|
|
|
# don't load default zshrc |
|
|
# don't load default zshrc |
|
|
setopt no_global_rcs |
|
|
setopt no_global_rcs |
|
|
|
|
|
|
|
|
# environment variables |
|
|
# environment variables |
|
|
export PATH=/home/marc/.config/scripts:$PATH |
|
|
export PATH=/home/marc/.config/scripts:$PATH |
|
|
|
|
|
|
|
|
#export XDG_CONFIG_HOME="$HOME"/.config |
|
|
|
|
|
#export XDG_DATA_HOME="$HOME"/.local/share |
|
|
|
|
|
#export XDG_CACHE_HOME="$HOME"/.cache |
|
|
|
|
|
|
|
|
|
|
|
# move zsh config to $XDG_CONFIG_HOME |
|
|
|
|
|
#export ZDOTDIR="$XDG_CONFIG_HOME"/zsh |
|
|
|
|
|
|
|
|
|
|
|
# GTK |
|
|
|
|
|
#export GTK_RC_FILES="$XDG_CONFIG_HOME"/gtk-1.0/gtkrc |
|
|
|
|
|
#export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc |
|
|
|
|
|
|
|
|
|
|
|
# to prevent .wine in home |
|
|
|
|
|
#export WINEPREFIX="$XDG_DATA_HOME"/wineprefixes/default |
|
|
|
|
|
|
|
|
|
|
|
#for nvidia cuda, in case I should use it |
|
|
|
|
|
#export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv |
|
|
|
|
|
|
|
|
|
|
|
#GnuPG |
|
|
|
|
|
#export GNUPGHOME="$XDG_DATA_HOME"/gnupg |
|
|
|
|
|
#gpg2 --homedir "$XDG_DATA_HOME"/gnupg |
|
|
|
|
|
|
|
|
|
|
|
# npm |
|
|
|
|
|
#export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME"/npm/npmrc |
|
|
|
|
|
|
|
|
|
|
|
# Java OpenJDK |
|
|
|
|
|
#export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java |
|
|
|
|
|
|
|
|
|
|
|
# Gradle |
|
|
|
|
|
#export GRADLE_USER_HOME="$XDG_DATA_HOME"/gradle |
|
|
|
|
|
|
|
|
|
|
|
# Pylint |
|
|
|
|
|
#export PYLINTHOME="$XDG_CACHE_HOME"/pylint |
|
|
|
|
|
|
|
|
|
|
|
# less |
|
|
|
|
|
#export LESSKEY="$XDG_CACHE_HOME"/less |
|
|
|
|
|
#export LESSHISTFILE="$XDG_CACHE_HOME"/less/history |
|
|
|
|
|
|
|
|
|
|
|
# aliases |
|
|
# aliases |
|
|
# to temporary disable them in case they override defaults, |
|
|
# to temporary disable them in case they override defaults, |
|
|
# use \.. , e.g. \ls |
|
|
# use \.. , e.g. \ls |
|
@ -52,3 +13,4 @@ alias dot='/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME' |
|
|
alias mvmkv='find . -name "*.mkv" -type f -exec mv {} ./ \;' |
|
|
alias mvmkv='find . -name "*.mkv" -type f -exec mv {} ./ \;' |
|
|
alias wget='wget --hsts-file=$XDG_CACHE_HOME/wget-hsts' |
|
|
alias wget='wget --hsts-file=$XDG_CACHE_HOME/wget-hsts' |
|
|
alias mbsync='mbsync -c $XDG_CONFIG_HOME/isync/mbsyncrc' |
|
|
alias mbsync='mbsync -c $XDG_CONFIG_HOME/isync/mbsyncrc' |
|
|
|
|
|
alias flactomp3='find . -name "*.flac" -exec ffmpeg -i {} -codec:a libmp3lame -q:a 0 -map_metadata 0 -id3v2_version 3 -c:v copy {}.mp3 \;' |