-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
36 lines (28 loc) · 780 Bytes
/
.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
# Path to oh-my-zsh installation
export ZSH=$HOME/.oh-my-zsh
# Theme
# https://github.com/robbyrussell/oh-my-zsh/wiki/themes
ZSH_THEME="robbyrussell"
# Plugins
# https://github.com/robbyrussell/oh-my-zsh/wiki/Plugins
plugins=(
git
node
npm
yarn
)
source $ZSH/oh-my-zsh.sh
# Aliases
# Git aliases - https://github.com/robbyrussell/oh-my-zsh/wiki/Plugin:git#aliases
# Node aliases - https://github.com/robbyrussell/oh-my-zsh/wiki/Plugins#node
alias dev="cd ~/dev"
alias ns="npm start"
alias ni="npm install --save"
alias nid="npm install --save-dev"
alias ys="yarn start"
alias ya="yarn add"
alias yad="yarn add -D"
# nvm
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"