更新 lazy.zsh
This commit is contained in:
parent
5c6d832cd6
commit
bb573860bf
13
lazy.zsh
13
lazy.zsh
@ -19,13 +19,9 @@ LAZY_ZSH="$HOME/.lazyzsh"
|
||||
}
|
||||
|
||||
# Binaries
|
||||
[[ -d "$LAZY_ZSH/bin" ]] && {
|
||||
if echo ":$PATH:" | grep -q ":lazyzsh:"; then
|
||||
source $LAZY_ZSH/bin/.lazy_bin_init.zsh
|
||||
else
|
||||
PATH="$LAZY_ZSH/bin:$PATH"
|
||||
source $LAZY_ZSH/bin/.lazy_bin_init.zsh
|
||||
fi
|
||||
[[ -d "$LAZY_ZSH/bin" ]] && ! echo ":$PATH:" | grep -q ":lazyzsh:" && {
|
||||
PATH="$LAZY_ZSH/bin:$PATH"
|
||||
source $LAZY_ZSH/bin/.lazy_bin_init.zsh
|
||||
}
|
||||
|
||||
# ~/.zsh_history
|
||||
@ -34,10 +30,9 @@ HISTSIZE=1000
|
||||
SAVEHIST=1000
|
||||
HISTFILE="$HOME/.zsh_history"
|
||||
|
||||
# alias wsl2 profile
|
||||
# alias wsl2
|
||||
source "$LAZY_ZSH/alias.zsh" # inner custom alias
|
||||
[[ -n $WSL_DISTRO_NAME ]] && source "$LAZY_ZSH/wsl2.zsh" # wsl custom
|
||||
[[ -f ~/.profile ]] && source ~/.profile # load bash profile
|
||||
|
||||
# Proxy Switcher
|
||||
function setproxy() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user