mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 04:46:41 +00:00
fix(shell/cached-eval): find usable md5 command and improve reliability
This commit is contained in:
4
zshrc
4
zshrc
@@ -114,8 +114,8 @@ fi
|
||||
if command-exists mise; then
|
||||
alias mi="mise"
|
||||
|
||||
cached-eval "$MISE_INSTALL_PATH" mise activate zsh
|
||||
setup-completions mise "$MISE_INSTALL_PATH" mise completions zsh
|
||||
cached-eval "$MISE_INSTALL_PATH" mise activate zsh
|
||||
fi
|
||||
|
||||
# ==============================================================================
|
||||
@@ -128,8 +128,8 @@ if ! command-exists starship && [ -f "$MISE_INSTALL_PATH" ]; then
|
||||
fi
|
||||
|
||||
if command-exists starship; then
|
||||
cached-eval "$(command -v starship)" starship init zsh --print-full-init
|
||||
setup-completions starship "$(command -v starship)" starship completions zsh
|
||||
cached-eval "$(command -v starship)" starship init zsh --print-full-init
|
||||
else
|
||||
echo "WARN: starship not found, skipping prompt setup" >&2
|
||||
echo " install with: mise install starship" >&2
|
||||
|
||||
Reference in New Issue
Block a user