aboutsummaryrefslogtreecommitdiffhomepage
path: root/.zshenv
blob: a29fc68bc62245b2e55c4cf7c58fcfdbda585fe9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# https://wiki.archlinux.org/title/XDG_Base_Directory
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_STATE_HOME="$HOME/.local/state"

# Node
export NODE_REPL_HISTORY="$XDG_CACHE_HOME/node_repl_history"
# SQLite
export SQLITE_HISTORY="$XDG_CACHE_HOME/sqlite_history"


# Path
export PATH="$HOME/bin:$HOME/.local/bin:$PATH"

# Nix
if [ -e "$HOME/.nix-profile/etc/profile.d/nix.sh" ]; then
    . "$HOME/.nix-profile/etc/profile.d/nix.sh"
fi
if [ -e "$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh" ]; then
    . "$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh"
fi