-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzshrc_mac
41 lines (32 loc) · 1.11 KB
/
zshrc_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
31
32
33
34
35
36
37
38
39
40
41
export ZSH=$HOME/.oh-my-zsh
export ZSH_DISABLE_COMPFIX=true
ZSH_THEME="ys"
DISABLE_AUTO_TITLE="true"
HIST_STAMPS="yyyy-mm-dd"
source $ZSH/oh-my-zsh.sh
alias vim='nvim'
alias m='ls -l -h'
alias le='less -S -N -R'
alias wl='wc -l'
alias grep='grep --color --exclude-dir={.bzr,CVS,.git,.hg,.svn,venv,node_modules}'
alias dh='du -h -d 1'
alias wget='wget --no-check-certificate'
alias gs='git status'
alias ga='git add'
alias gc='git checkout'
alias gd='git diff'
alias rc='rails console'
alias k='kubectl'
export PATH="/opt/homebrew/bin:$PATH"
export EDITOR=vim
# fzf
export FZF_DEFAULT_COMMAND="fd --ignore-file=$HOME/.fdignore --type f -H --color=never"
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
export PATH="/opt/homebrew/opt/libpq/bin:$PATH"
export PATH="/Users/$USER/bin:$PATH"
export LDFLAGS="-L/opt/homebrew/opt/libpq/lib"
export CPPFLAGS="-I/opt/homebrew/opt/libpq/include"
export PKG_CONFIG_PATH="/opt/homebrew/opt/libpq/lib/pkgconfig"
eval "$(rbenv init - zsh)"