fix
This commit is contained in:
parent
a307729742
commit
6107834048
6
lazy.zsh
6
lazy.zsh
@ -11,7 +11,7 @@ ZSH_PLUGIN_powerlevel10k=ON
|
|||||||
export LAZY_ZSH="$HOME/.lazyzsh"
|
export LAZY_ZSH="$HOME/.lazyzsh"
|
||||||
|
|
||||||
# Plugins
|
# Plugins
|
||||||
[ ! -d "$LAZY_ZSH/plugins" ] && . "$LAZY_ZSH/init_plugins.zsh"
|
[[ ! -d "$LAZY_ZSH/plugins" ]] && . "$LAZY_ZSH/init_plugins.zsh"
|
||||||
[ "$ZSH_PLUGIN_syntax_highlighting" = ON ] && source "$LAZY_ZSH/plugins/syntax-highlighting/zsh-syntax-highlighting.zsh"
|
[ "$ZSH_PLUGIN_syntax_highlighting" = ON ] && source "$LAZY_ZSH/plugins/syntax-highlighting/zsh-syntax-highlighting.zsh"
|
||||||
[ "$ZSH_PLUGIN_autosuggestions" = ON ] && source "$LAZY_ZSH/plugins/autosuggestions/zsh-autosuggestions.zsh"
|
[ "$ZSH_PLUGIN_autosuggestions" = ON ] && source "$LAZY_ZSH/plugins/autosuggestions/zsh-autosuggestions.zsh"
|
||||||
[ "$ZSH_PLUGIN_powerlevel10k" = ON ] && {
|
[ "$ZSH_PLUGIN_powerlevel10k" = ON ] && {
|
||||||
@ -26,8 +26,8 @@ SAVEHIST=1000
|
|||||||
HISTFILE="$HOME/.zsh_history"
|
HISTFILE="$HOME/.zsh_history"
|
||||||
|
|
||||||
source "$LAZY_ZSH/alias.zsh" # inner custom alias
|
source "$LAZY_ZSH/alias.zsh" # inner custom alias
|
||||||
[ -n $WSL_DISTRO_NAME ] && source "$LAZY_ZSH/wsl2.zsh" # wsl custom
|
[[ -n $WSL_DISTRO_NAME ]] && source "$LAZY_ZSH/wsl2.zsh" # wsl custom
|
||||||
[ -f ~/.profile ] && source ~/.profile # load bash profile
|
[[ -f ~/.profile ]] && source ~/.profile # load bash profile
|
||||||
|
|
||||||
function setproxy() {
|
function setproxy() {
|
||||||
local host=${1:-127.0.0.1} # 更改IP为您的代理软件监听IP, 默认127.0.0.1
|
local host=${1:-127.0.0.1} # 更改IP为您的代理软件监听IP, 默认127.0.0.1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user