-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshenv
executable file
·21 lines (17 loc) · 842 Bytes
/
.zshenv
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
if [ "$TERM" = tramp ]; then
unset RPROMPT
unset RPS1
PS1="$ "
unsetopt zle
unsetopt rcs # Inhibit loading of further config files
fi
export XDG_DATA_HOME=$HOME/.local/share
export XDG_CONFIG_HOME=$HOME/.config
export XDG_STATE_HOME=$HOME/.local/state
export XDG_CACHE_HOME=$HOME/.cache
test -e "$XDG_CONFIG_HOME"/zsh/history && export HISTFILE="$XDG_CONFIG_HOME"/zsh/history
test -e "$HOME"/.config/zsh && export ZDOTDIR="$HOME"/.config/zsh
if [ -e "$HOME"/.nix-profile/etc/profile.d/nix.sh ]; then . $HOME/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer
# if [ -e $HOME/.local/bin/please ]; then $HOME/.local/bin/please; fi
# precmd() { if (( $? != 0 )); then; mommy false; else; mommy true; fi }
test -e "/home/rex/.local/share/cargo/env" && . "/home/rex/.local/share/cargo/env"