Add gemini lazy load

This commit is contained in:
Alex Selimov 2025-09-18 23:36:31 -04:00
parent a041bb37be
commit 66b9b39499
Signed by: aselimov
GPG key ID: 3DDB9C3E023F1F31

View file

@ -85,23 +85,31 @@ load_nvm() {
# Create placeholder functions that load nvm once, then call the real command
nvm() {
unset -f nvm node npm
unset -f nvm node npm gemini
load_nvm
nvm "$@"
}
node() {
unset -f nvm node npm
unset -f nvm node npm gemini
load_nvm
node "$@"
}
npm() {
unset -f nvm node npm
unset -f nvm node npm gemini
load_nvm
npm "$@"
}
gemini() {
unset -f nvm node npm gemini
load_nvm
gemini "$@"
}
# ghcup
[ -f "/home/aselimov/.ghcup/env" ] && . "/home/aselimov/.ghcup/env" # ghcup-env