Skip to content

Commit

Permalink
macos: add https://bun.sh/ user program
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangkaizhao committed Jul 10, 2022
1 parent ad03600 commit b9fcac7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions macos/.bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,7 @@ export RUBY_BUILD_MIRROR_URL="https://repo.huaweicloud.com/ruby/ruby/"
# 2021-12-20 git commit with gpg sign issue https://stackoverflow.com/q/41052538/3449199
# Some explanation: https://samuelsson.dev/sign-git-commits-on-github-with-gpg-in-macos/
export GPG_TTY=$(tty)

# 2022-07-09 https://github.com/Jarred-Sumner/bun
export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"
6 changes: 6 additions & 0 deletions macos/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,12 @@ export RUBY_BUILD_MIRROR_URL="https://repo.huaweicloud.com/ruby/ruby/"
# Some explanation: https://samuelsson.dev/sign-git-commits-on-github-with-gpg-in-macos/
export GPG_TTY=$(tty)

# 2022-07-09 https://github.com/Jarred-Sumner/bun
export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"
# bun completions
[ -s "$BUN_INSTALL/_bun" ] && source "$BUN_INSTALL/_bun"

## Other general but must be placed at the bottom

# show hidden files and directories in zsh completions from https://unix.stackexchange.com/a/308322/126066
Expand Down
1 change: 1 addition & 0 deletions macos/user-programs.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
bun ~/.bun https://bun.sh/
deno ~/.deno https://deno.land/
ghcup ~/.ghcup https://github.com/haskell/ghcup
nvm ~/.nvm https://github.com/nvm-sh/nvm
Expand Down

0 comments on commit b9fcac7

Please sign in to comment.