Skip to content

Commit

Permalink
Adds deno to path if present
Browse files Browse the repository at this point in the history
  • Loading branch information
Lissy93 committed Jun 16, 2024
1 parent 58b71a6 commit 0b5ee28
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions config/zsh/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,12 @@ if [[ -d "$HOME/.cargo/bin" ]]; then
export PATH="$HOME/.cargo/bin:$PATH"
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
if hash zoxide 2> /dev/null; then
eval "$(zoxide init zsh)"
Expand All @@ -110,3 +116,6 @@ if [[ "${SHLVL}" -lt 2 ]] && \
{ [[ -z "$SKIP_WELCOME" ]] || [[ "$SKIP_WELCOME" == "false" ]]; }; then
welcome
fi

# bun completions
[ -s "/home/alicia/.bun/_bun" ] && source "/home/alicia/.bun/_bun"

0 comments on commit 0b5ee28

Please sign in to comment.