feat(gchup): Add support for loading gchup environment.
This commit is contained in:
parent
169cf0c209
commit
9392c2eb19
4
zshrc
4
zshrc
|
|
@ -75,6 +75,10 @@ if [[ -d "/home/linuxbrew" ]]; then
|
||||||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ -f ${XDG_DATA_HOME:="$HOME/.local/share"}/ghcup/env ]]; then
|
||||||
|
source ${XDG_DATA_HOME:="$HOME/.local/share"}/ghcup/env
|
||||||
|
fi
|
||||||
|
|
||||||
## Configure Plugins
|
## Configure Plugins
|
||||||
export ZSH_AUTOSUGGEST_STRATEGY=(completion history) # suggest from completion then history
|
export ZSH_AUTOSUGGEST_STRATEGY=(completion history) # suggest from completion then history
|
||||||
export ZSH_AUTOSUGGEST_USE_ASYNC=1 # make async for SPEED
|
export ZSH_AUTOSUGGEST_USE_ASYNC=1 # make async for SPEED
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user