diff options
Diffstat (limited to 'cfg/zsh/zshenv')
-rwxr-xr-x | cfg/zsh/zshenv | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/cfg/zsh/zshenv b/cfg/zsh/zshenv new file mode 100755 index 0000000..b9b5a41 --- /dev/null +++ b/cfg/zsh/zshenv @@ -0,0 +1,35 @@ +#!/bin/sh + +# Neodot +export NEODOT="$HOME/git/neodot" +export NEODOT_SCR="$HOME/git/neodot/scripts" +export NEODOT_SH="$HOME/git/neodot/scripts/sh" +export NEODOT_C="$HOME/git/neodot/scripts/c" + +# XDG +export XDG_CONFIG_HOME="$HOME/.config" +export XDG_DATA_HOME="$HOME/.local/share" +export XDG_CACHE_HOME="$HOME/.cache" +export XDG_STATE_HOME="$HOME/.local/state" + +# PATH +export PATH="$PATH:$HOME/.local/bin:$NEODOT_SCR/target:$HOME/dl/odin" + +# General +export BROWSER="firefox" +export VISUAL="nvim" +export EDITOR="$VISUAL" +export FUZZY="fzf --print-query | tail -n1" # or: fzy + +# zsh +export ZDOTDIR=$XDG_CONFIG_HOME/zsh +export ZSH_CACHE_DIR="$XDG_CACHE_HOME/zsh" + +# Envvars (TODO: move these to .zshenv-src) +export WWW_DEFAULT_PATH="$HOME/www/gabbott.dev" +export WWW_DEFAULT_URL="https://gabbott.dev" + +# Programming Languages +export RUSTUP_HOME="$XDG_DATA_HOME/rustup" +export CARGO_HOME="$XDG_DATA_HOME/cargo" +export CARGO_INSTALL_ROOT="$CARGO_HOME" |