[profiles/base] modify zsh config

This commit is contained in:
2026-02-21 06:02:35 +01:00
parent 4192eb836c
commit 3eaf30494f
11 changed files with 127 additions and 114 deletions

View File

@@ -1,11 +1,18 @@
# Set PATH environment variable
typeset -U path PATH
path=("${HOME}/.local/bin" /usr/local/sbin /usr/local/bin /usr/sbin /sbin "${path[@]}")
path=(
"${HOME}/.local/bin"
"/usr/local/sbin"
"/usr/local/bin"
"/usr/sbin"
"/sbin"
"${path[@]}"
)
export PATH
# Configure shell history behavior
HISTFILE=${HOME}/.zsh_history
HISTSIZE=10000
SAVEHIST=10000
HISTFILE="${HOME}/.zsh_history"
HISTSIZE="10000"
SAVEHIST="10000"
setopt appendhistory
setopt HIST_IGNORE_SPACE