dotfiles

My dotfiles for Arch Linux
git clone git://git.janispagel.de/dotfiles.git
Log | Files | Refs | README

dot-zshenv (2507B)


      1 # Set path
      2 typeset -U path
      3 # Add ~/bin to path
      4 # Add ruby scripts to path
      5 # Add golang to path
      6 path=(~/bin ~/.local/bin ~/.local/share/gem/bin $(go env GOPATH)/bin $path[@])
      7 
      8 ################
      9 ## Variables ###
     10 ################
     11 
     12 # default config path
     13 export XDG_CONFIG_HOME=$HOME/.config
     14 export XDG_CACHE_HOME=$HOME/.cache
     15 export XDG_DATA_HOME=$HOME/.local/share
     16 
     17 # set default programs
     18 export EDITOR="nvim"
     19 export VISUAL="nvim"
     20 export PAGER="less"
     21 export TERMINAL="st"
     22 export BROWSER="firefox"
     23 export EMAILCLIENT="neomutt"
     24 export MUSICPLAYER="ncmpcpp"
     25 export TOP="top"
     26 export READER="zathura"
     27 export RSSREADER="newsboat"
     28 
     29 # Program-specific variables
     30 mkdir -p $XDG_CACHE_HOME/zsh
     31 export ZDOTDIR=$XDG_CONFIG_HOME/zsh
     32 export HISTFILE=$XDG_DATA_HOME/bash/history
     33 export XINITRC=$XDG_CONFIG_HOME/X11/xinitrc
     34 export XAUTHORITY=$XDG_RUNTIME_DIR/Xauthority
     35 export GNUPGHOME=$XDG_DATA_HOME/gnupg
     36 export RANDFILE=$XDG_DATA_HOME/openssl/rnd
     37 export WGETRC=$XDG_CONFIG_HOME/wgetrc
     38 mkdir -p $XDG_DATA_HOME/vim/{undo,swap,backup}
     39 #export VIMINIT='source "$XDG_CONFIG_HOME/vim/vimrc"'
     40 export CCACHE_DIR=$XDG_CACHE_HOME/ccache
     41 export R_LIBS=$XDG_DATA_HOME/R/x86_64-pc-linux-gnu-library/*
     42 export GEM_HOME=$XDG_DATA_HOME/gem
     43 export GEM_SPEC_CACHE=$XDG_CACHE_HOME/gem
     44 export BUNDLE_USER_CONFIG=$XDG_CONFIG_HOME/bundle BUNDLE_USER_CACHE=$XDG_CACHE_HOME/bundle BUNDLE_USER_PLUGIN=$XDG_DATA_HOME/bundle
     45 export GOPATH=$XDG_DATA_HOME/go
     46 export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
     47 export GRADLE_USER_HOME="$XDG_DATA_HOME"/tooling/gradle
     48 export PYTHONSTARTUP=$XDG_CONFIG_HOME/python/pythonstartup.py
     49 export IPYTHONDIR=$XDG_CONFIG_HOME/jupyter
     50 export JUPYTER_CONFIG_DIR=$XDG_CONFIG_HOME/jupyter
     51 export PYLINTHOME=$XDG_CACHE_HOME/pylint
     52 export QUADRAMA_DIR=$XDG_DATA_HOME/QuaDramA/Data2
     53 export TASKDATA=$XDG_DATA_HOME/task
     54 export TASKRC=$XDG_CONFIG_HOME/task/taskrc
     55 export PASSWORD_STORE_DIR=$XDG_DATA_HOME/pass
     56 export PARALLEL_HOME=$XDG_CONFIG_HOME/parallel
     57 export WEECHAT_HOME=$XDG_CONFIG_HOME/weechat
     58 export ELINKS_CONFDIR=$XDG_CONFIG_HOME/elinks
     59 export WWW_HOME=$XDF_DATA_HOME/w3m
     60 mkdir -p $XDG_CONFIG_HOME/simplescreenrecorder
     61 export IMAPFILTER_HOME=$XDG_CONFIG_HOME/imapfilter
     62 export NOTMUCH_CONFIG=$XDG_CONFIG_HOME/notmuch/notmuchrc
     63 export BOGOFILTER_DIR=$XDG_DATA_HOME/bogofilter
     64 export NMBGIT=$XDG_DATA_HOME/notmuch/nmbug
     65 mkdir -p $XDG_CACHE_HOME/less
     66 export LESSKEY=$XDG_CONFIG_HOME/less/lesskey
     67 export LESSHISTFILE=$XDG_CACHE_HOME/less/history
     68 export GTK2_RC_FILES=$XDG_CONFIG_HOME/gtk-2.0/gtkrc