summaryrefslogtreecommitdiffstats
path: root/.config/env
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-31 22:57:28 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-31 22:57:28 +0100
commit97c8b051acb14114ed2365ee4b0623e7a8ddd8ba (patch)
treec114f51ffd2e29489451133065f9f63d8a95d1ea /.config/env
parentStill moving stuff around (diff)
downloaddotfiles-bsd-97c8b051acb14114ed2365ee4b0623e7a8ddd8ba.tar.gz
dotfiles-bsd-97c8b051acb14114ed2365ee4b0623e7a8ddd8ba.tar.bz2
dotfiles-bsd-97c8b051acb14114ed2365ee4b0623e7a8ddd8ba.tar.xz
dotfiles-bsd-97c8b051acb14114ed2365ee4b0623e7a8ddd8ba.tar.zst
dotfiles-bsd-97c8b051acb14114ed2365ee4b0623e7a8ddd8ba.zip
Functionnal changes
Diffstat (limited to '.config/env')
-rw-r--r--.config/env58
1 files changed, 58 insertions, 0 deletions
diff --git a/.config/env b/.config/env
new file mode 100644
index 0000000..12e6ae7
--- /dev/null
+++ b/.config/env
@@ -0,0 +1,58 @@
+# PATH
+export PATH="$HOME"/.local/bin:"$PATH"
+
+# Apps
+export EDITOR='nvim'
+export VISUAL='nvim'
+export PAGER='less'
+export TERMINAL='alacritty'
+export BROWSER='firefox'
+export READER='zathura'
+export FILE='vifm'
+
+# UTF-8
+export CHARSET='UTF-8'
+export LANG='en_US.UTF-8'
+export LC_COLLATE='C'
+
+# xdg
+export XDG_DATA_HOME="$HOME"/.local/share
+export XDG_CONFIG_HOME="$HOME"/.config
+export XDG_CACHE_HOME="$HOME"/.cache
+export XDG_RUNTIME_DIR=/tmp
+export XDG_MUSIC_DIR="$HOME"/mu
+
+# Cleanup
+export ANDROID_SDK_HOME="$XDG_CONFIG_HOME"/android
+export ANDROID_AVD_HOME="$XDG_DATA_HOME"/android/
+export ANDROID_EMULATOR_HOME="$XDG_DATA_HOME"/android/
+export ADB_VENDOR_KEY="$XDG_CONFIG_HOME"/android
+export CARGO_HOME="$XDG_DATA_HOME"/cargo
+export CCACHE_CONFIGPATH="$XDG_CONFIG_HOME"/ccache.conf
+export CCACHE_DIR="$XDG_CACHE_HOME"/ccache
+export DOCKER_CONFIG="$XDG_CONFIG_HOME"/docker
+export GNUPGHOME="$XDG_DATA_HOME"/gnupg
+export MACHINE_STORAGE_PATH="$XDG_DATA_HOME"/docker-machine
+export NODE_REPL_HISTORY="$XDG_DATA_HOME"/node_repl_history
+export NOTMUCH_CONFIG="$XDG_CONFIG_HOME"/notmuch/notmuchrc
+export NMBGIT="$XDG_DATA_HOME"/notmuch/nmbug
+export NPM_CONFIG_USERCONFIG=$XDG_CONFIG_HOME/npm/npmrc
+export SCREENRC="$XDG_CONFIG_HOME"/screen/screenrc
+export STACK_ROOT="$XDG_DATA_HOME"/stack
+export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass
+export XINITRC="$XDG_CONFIG_HOME"/x11/xinitrc
+export XSERVERRC="$XDG_CONFIG_HOME"/x11/xserverrc
+
+# ccache
+export CCACHE_PATH='/usr/bin:/usr/local/bin:/usr/local/llvm11/bin'
+export CCACHE_DIR='/var/cache/ccache-jozan'
+export CCACHE_LOGFILE='/var/log/ccache.log'
+
+# Apps config
+export FZF_DEFAULT_COMMAND='ag -g "" --ignore dotfiles-bsd'
+export FZF_DEFAULT_OPTS='--height 40% --layout=reverse --border'
+export LESS="-R"
+export LESSHISTFILE='-'
+export MANPAGER="less -R -M +Gg"
+export MPD_HOST="$HOME"/.local/share/mpd/socket
+export RUSTFLAGS="-L /usr/local/lib"