-
Notifications
You must be signed in to change notification settings - Fork 3
/
.zshrc
43 lines (33 loc) · 1.16 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
32
33
34
35
36
37
38
39
40
41
42
43
if [[ ! -d ~/.antigen ]]; then
git clone https://github.com/zsh-users/antigen.git ~/.antigen
source $HOME/.antigen/antigen.zsh
fi
source $HOME/.antigen/antigen.zsh
antigen use oh-my-zsh
antigen-bundle git
antigen-bundle npm
antigen-bundle yarn
antigen-bundle zsh-users/zsh-syntax-highlighting
antigen-bundle zsh-users/zsh-history-substring-search
antigen-bundle zsh-users/zsh-autosuggestions
antigen-bundle zsh-users/zsh-completions
antigen-bundle mafredri/zsh-async
antigen-bundle sindresorhus/pure
antigen apply
bindkey '^[[A' history-substring-search-up
bindkey '^[[B' history-substring-search-down
alias ..="cd .."
alias ...="cd ../.."
alias ....="cd ../../.."
alias .....="cd ../../../.."
alias gti="git"
alias s="git status -s"
alias co="git checkout"
alias ws="webstorm"
alias glog="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
export PATH=~/.npm-global/bin:$PATH
export PATH="/usr/local/bin:$PATH"
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
export PATH="$HOME/.yarn/bin:$PATH"