diff options
-rwxr-xr-x | zsh/zprofile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zsh/zprofile b/zsh/zprofile index 59b1f94..fc9911e 100755 --- a/zsh/zprofile +++ b/zsh/zprofile @@ -36,9 +36,9 @@ 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 +setopt nullglob # Set in case .local/bin doesn't exist for lbin in "$HOME/.local/bin"{/,/*/}; do export PATH="${lbin%/}:$PATH"; done 2>/dev/null # Add ~/.local/bin and all sub dirs export PATH="$HOME/.local/opt:$PATH" export PATH="$CARGO_HOME/bin:$PATH" |