-
Notifications
You must be signed in to change notification settings - Fork 0
/
bashrc_mac
30 lines (21 loc) · 901 Bytes
/
bashrc_mac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
#macports
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
#homebrew
export PATH=/opt/homebrew/bin:$PATH
# use homebrew installed ruby
export PATH="/opt/homebrew/opt/ruby/bin:$PATH"
export PATH="/opt/homebrew/opt/[email protected]/bin:$PATH"
#npm
export PATH=/usr/local/share/npm/bin:$PATH
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
#go
export GOROOT=~/Documents/go/
#gnu coreutils
export PATH="/opt/homebrew/opt/coreutils/libexec/gnubin:$PATH"
export MANPATH="/opt/homebrew/opt/coreutils/libexec/gnuman:$MANPATH"
# git autocomplete, requires git and bash-completion installed with homebrew
[[ -r "/opt/homebrew/etc/profile.d/bash_completion.sh" ]] && . "/opt/homebrew/etc/profile.d/bash_completion.sh"
# https://apple.stackexchange.com/questions/371997/suppressing-the-default-interactive-shell-is-now-zsh-message-in-macos-catalina
export BASH_SILENCE_DEPRECATION_WARNING=1