summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xzsh/zprofile3
1 files changed, 2 insertions, 1 deletions
diff --git a/zsh/zprofile b/zsh/zprofile
index 2f58046..59b1f94 100755
--- a/zsh/zprofile
+++ b/zsh/zprofile
@@ -2,7 +2,7 @@
# Default programs
export EDITOR='nvim'
-export TERMINAL='st'
+export TERMINAL='alacritty'
export BROWSER='launch firefox'
export SUDO='doas'
@@ -36,6 +36,7 @@ export _JAVA_OPTIONS="-Djava.util.prefs.userRoot=$XDG_DATA_HOME/java"
export XDG_STATE_HOME="$HOME/.local/state"
export LESSHISTFILE='-' # Disable this, but it would be considered a state file
export ZHISTFILE="$XDG_STATE_HOME/zsh/zhistory" # Used to set HISTFILE in zshrc without exporting since HISTFILE is generic to most shells, and desired behavior is for zsh to have its own history file
+mkdir -p "$(dirname "$ZHISTFILE")"
# Path
for lbin in "$HOME/.local/bin"{/,/*/}; do export PATH="${lbin%/}:$PATH"; done 2>/dev/null # Add ~/.local/bin and all sub dirs