Skip to content

Commit

Permalink
feat: add deno to PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
matijs committed Jun 16, 2024
1 parent bf6bdbc commit b698351
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .bash_profile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# check whether the current user has a $HOME/bin and if so add it to the PATH
[ -d "${HOME}/bin" ] && export PATH="${HOME}/bin:${PATH}";
[ -d "${HOME}/.cargo/bin" ] && export PATH="${HOME}/.cargo/bin:${PATH}";
# check for deno and add it to PATH if found
[ -d "${HOME}/.deno" ] && export DENO_INSTALL="${HOME}/.deno" && export PATH="${DENO_INSTALL}/bin:${PATH}";
# add node_modules/.bin as a relative path to the PATH
export PATH="node_modules/.bin:${PATH}";
# remove duplicates from the path
Expand Down

0 comments on commit b698351

Please sign in to comment.