From ad081ca8b6253f049e29480d5b4b33f00a9c626f Mon Sep 17 00:00:00 2001 From: Timmy Keller Date: Sat, 13 Jan 2024 21:10:04 -0600 Subject: create zhistory directory --- zsh/zprofile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3