-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbashrc
35 lines (27 loc) · 805 Bytes
/
bashrc
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
31
32
33
34
35
# Homebrew
eval $(/opt/homebrew/bin/brew shellenv)
# # rbenv
# export PATH="$HOME/.rbenv/bin:$PATH"
# eval "$(rbenv init -)"
# Go
export GOPATH="$HOME/gocode"
export PATH="$PATH:$GOPATH/bin"
# Editor
export VISUAL="code -w"
export EDITOR="code -w"
# Colors
# export TERM=xterm-color # handled by iTerm
export GREP_OPTIONS='--color=auto' GREP_COLOR='1;32'
export CLICOLOR='Yes'
export LSCOLORS=Exfxcxdxbxegedabagacad
# Aliases
alias ll="ls -l"
alias la="ll -a"
# Prompt
export PS1="[\s-\v] \u > \[$(tput bold)\]\w\[$(tput sgr0)\] \$ "
# NVM
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# Cargo
export PATH="$HOME/.cargo/bin:$PATH"