Compare commits

..

No commits in common. "0fc43e1563fca11886a89d90432b1651cf44d843" and "a768bf308fcf619e9db2a364f9eaaa4bdbe3afbd" have entirely different histories.

3 changed files with 15 additions and 14 deletions

View File

@ -4,11 +4,12 @@ typeset -U path # No duplicates
path=()
_prepath() {
for dir in "$@"; do
for dir in "$@"; do
dir=${dir:A}
[[ ! -d "$dir" ]] && return
#path=("$dir" $path[@])
path=("$dir" $path)
done
done
}
_prepath /usr/bin /bin /usr/sbin /sbin /usr/local/bin /usr/local/sbin # BSD and macOS

View File

@ -1,8 +1,7 @@
## Command history configuration
export HISTFILE="${ZCACHE}/history"
export HISTSIZE=1000000000
export SAVEHIST=${HISTSIZE}
export HISTORY_IGNORE="([bf]g *|disown|cd ..|cd -)"
HISTFILE="${ZCACHE}/history"
HISTSIZE=1000000000
SAVEHIST=1000000000
export HISTTIMEFORMAT="[%F %T] "
setopt INC_APPEND_HISTORY
@ -14,3 +13,4 @@ setopt incappendhistory
setopt histignorespace
setopt histnostore
setopt share_history
export HISTORY_IGNORE="([bf]g *|disown|cd ..|cd -)"

View File

@ -19,9 +19,9 @@ plugin_repos=(
rupa/z # Tracks your most used directories, based on 'frecency'.
Skylor-Tang/auto-venv # Automatically activates the Python virtual environment in the current directory or its parent directories.
zsh-users/zsh-autosuggestions
zsh-users/zsh-syntax-highlighting
zsh-users/zsh-history-substring-search
zsh-users/zsh-autosuggestions
)
# load plugins