32 lines
764 B
Bash
32 lines
764 B
Bash
# My default editor
|
|
export EDITOR='nvim'
|
|
|
|
# Add user created scripts to path
|
|
[ -d ~/.local/bin ] && export PATH=$PATH:$HOME/.local/bin
|
|
|
|
[ ! -d ~/.config ] && {
|
|
echo "Error ~/.config does no exist. Creating."
|
|
mkdir ~/.config
|
|
}
|
|
|
|
export config="$HOME/.config"
|
|
export CONFIG="$HOME/.config"
|
|
|
|
export CARGO_HOME="$CONFIG/cargo"
|
|
export GNUPGHOME="$CONFIG/gnupg"
|
|
export __GL_SHADER_DISK_CACHE_PATH="$CONFIG/nv"
|
|
|
|
# https://asdf-vm.com/guide/getting-started.html
|
|
export ASDF_DIR="$CONFIG/.asdf"
|
|
export ASDF_DATA_DIR="$ASDF_DIR"
|
|
. "$ASDF_DIR/asdf.sh"
|
|
. "$ASDF_DIR/completions/asdf.bash"
|
|
|
|
# https://direnv.net/
|
|
eval "$(direnv hook bash)"
|
|
|
|
#source ~/sdks/vulkan/1.4.313.0/setup-env.sh
|
|
|
|
# export DENO_CONFIG="/home/caleb/.config/deno"
|
|
# export PATH="$DENO_CONFIG/bin:$PATH"
|