Adding all my config stuff

This commit is contained in:
2026-07-14 01:47:10 +00:00
parent 08f4b08d0a
commit 15cfb2cce5
10 changed files with 117 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
# 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"