mirror of
https://github.com/stevenhobs/lazyzsh.git
synced 2026-04-13 03:15:37 +08:00
Update lazy.zsh
This commit is contained in:
8
lazy.zsh
8
lazy.zsh
@@ -19,10 +19,10 @@ LAZY_ZSH="$HOME/.lazyzsh"
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Binaries
|
# Binaries
|
||||||
[[ -d "$LAZY_ZSH/bin" ]] && ! echo ":$PATH:" | grep -q "lazyzsh/bin" && {
|
if [[ -d "$LAZY_ZSH/bin" ]]; then
|
||||||
PATH="$LAZY_ZSH/bin:$PATH"
|
[[ ":$PATH:" != *":$LAZY_ZSH/bin:"* ]] && PATH="$LAZY_ZSH/bin:$PATH"
|
||||||
source $LAZY_ZSH/bin/.lazy_bin_init.zsh
|
[[ -f "$LAZY_ZSH/bin/.lazy_bin_init.zsh" ]] && source "$LAZY_ZSH/bin/.lazy_bin_init.zsh"
|
||||||
}
|
fi
|
||||||
|
|
||||||
# ~/.zsh_history
|
# ~/.zsh_history
|
||||||
setopt histignorealldups sharehistory
|
setopt histignorealldups sharehistory
|
||||||
|
|||||||
Reference in New Issue
Block a user