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
|
||||
[[ -d "$LAZY_ZSH/bin" ]] && ! echo ":$PATH:" | grep -q "lazyzsh/bin" && {
|
||||
PATH="$LAZY_ZSH/bin:$PATH"
|
||||
source $LAZY_ZSH/bin/.lazy_bin_init.zsh
|
||||
}
|
||||
if [[ -d "$LAZY_ZSH/bin" ]]; then
|
||||
[[ ":$PATH:" != *":$LAZY_ZSH/bin:"* ]] && PATH="$LAZY_ZSH/bin:$PATH"
|
||||
[[ -f "$LAZY_ZSH/bin/.lazy_bin_init.zsh" ]] && source "$LAZY_ZSH/bin/.lazy_bin_init.zsh"
|
||||
fi
|
||||
|
||||
# ~/.zsh_history
|
||||
setopt histignorealldups sharehistory
|
||||
|
||||
Reference in New Issue
Block a user