Compare commits
3 Commits
a768bf308f
...
0fc43e1563
Author | SHA1 | Date | |
---|---|---|---|
0fc43e1563 | |||
7014435399 | |||
360e82abe9 |
@ -7,7 +7,6 @@ _prepath() {
|
|||||||
for dir in "$@"; do
|
for dir in "$@"; do
|
||||||
dir=${dir:A}
|
dir=${dir:A}
|
||||||
[[ ! -d "$dir" ]] && return
|
[[ ! -d "$dir" ]] && return
|
||||||
#path=("$dir" $path[@])
|
|
||||||
path=("$dir" $path)
|
path=("$dir" $path)
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
## Command history configuration
|
## Command history configuration
|
||||||
HISTFILE="${ZCACHE}/history"
|
export HISTFILE="${ZCACHE}/history"
|
||||||
HISTSIZE=1000000000
|
export HISTSIZE=1000000000
|
||||||
SAVEHIST=1000000000
|
export SAVEHIST=${HISTSIZE}
|
||||||
|
export HISTORY_IGNORE="([bf]g *|disown|cd ..|cd -)"
|
||||||
|
|
||||||
export HISTTIMEFORMAT="[%F %T] "
|
export HISTTIMEFORMAT="[%F %T] "
|
||||||
setopt INC_APPEND_HISTORY
|
setopt INC_APPEND_HISTORY
|
||||||
@ -13,4 +14,3 @@ setopt incappendhistory
|
|||||||
setopt histignorespace
|
setopt histignorespace
|
||||||
setopt histnostore
|
setopt histnostore
|
||||||
setopt share_history
|
setopt share_history
|
||||||
export HISTORY_IGNORE="([bf]g *|disown|cd ..|cd -)"
|
|
@ -19,9 +19,9 @@ plugin_repos=(
|
|||||||
rupa/z # Tracks your most used directories, based on 'frecency'.
|
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.
|
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-syntax-highlighting
|
||||||
zsh-users/zsh-history-substring-search
|
zsh-users/zsh-history-substring-search
|
||||||
zsh-users/zsh-autosuggestions
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# load plugins
|
# load plugins
|
||||||
|
Loading…
Reference in New Issue
Block a user