Adds deno to path if present

This commit is contained in:
Alicia Sykes 2024-06-16 22:12:53 +01:00
parent 58b71a6158
commit 0b5ee28a12

View File

@ -100,6 +100,12 @@ if [[ -d "$HOME/.cargo/bin" ]]; then
export PATH="$HOME/.cargo/bin:$PATH" export PATH="$HOME/.cargo/bin:$PATH"
fi fi
# Append Deno to path, if it's installed
if [[ -d "$HOME/.deno" ]]; then
export DENO_INSTALL="$HOME/.deno"
export PATH="$DENO_INSTALL/bin:$PATH"
fi
# Add Zoxide (for cd, quick jump) to shell # Add Zoxide (for cd, quick jump) to shell
if hash zoxide 2> /dev/null; then if hash zoxide 2> /dev/null; then
eval "$(zoxide init zsh)" eval "$(zoxide init zsh)"
@ -110,3 +116,6 @@ if [[ "${SHLVL}" -lt 2 ]] && \
{ [[ -z "$SKIP_WELCOME" ]] || [[ "$SKIP_WELCOME" == "false" ]]; }; then { [[ -z "$SKIP_WELCOME" ]] || [[ "$SKIP_WELCOME" == "false" ]]; }; then
welcome welcome
fi fi
# bun completions
[ -s "/home/alicia/.bun/_bun" ] && source "/home/alicia/.bun/_bun"