-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.zshrc
31 lines (25 loc) · 1.18 KB
/
.zshrc
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
export SVN_EDITOR='/Applications/MacVim.app/Contents/bin/vim'
export GIT_EDITOR='/Applications/MacVim.app/Contents/bin/vim'
alias iftop="sudo iftop -B -i en0"
alias rm="rm -i"
alias la="ls -a"
alias ll="ls -ahl"
alias du="du -d 1 -h"
# ln -s /Applications/MacVim.app/Contents/bin/vim /usr/local/bin/vi
# highlight themes location: /usr/local/Cellar/highlight/4.1/share/highlight/themes
alias highlight="highlight -O rtf --style edit-eclipse --font-size 22"
alias ttnpm="npm --registry http://registry.npm.alibaba-inc.com"
alias cnpm="npm --registry https://registry.npm.taobao.org"
alias mongod="mongod --dbpath $HOME/.mongod/data"
export CLICOLOR=1
export GREP_OPTIONS='--color=always'
export GREP_COLOR='1;35;40'
export LSCOLORS=GxFxBxDxCxegedabagacad
# https://scriptingosx.com/2019/07/moving-to-zsh-06-customizing-the-zsh-prompt/
export PROMPT='%F{blue}%B%n%b%f@%1~ %# '
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_301.jdk/Contents/Home
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export NODE_PATH=/usr/local/lib/node_modules
export PATH="$HOME/sbin:/usr/local/platform-tools:$PATH"
export PATH="/usr/local/mysql/bin:$PATH"
export GITLAB_HOME=$HOME/gitlab