-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
39 lines (27 loc) · 1 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
# !/bin/zsh
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh
plugins=(heroku npm)
source $ZSH/oh-my-zsh.sh
source $HOME/.profile
source $HOME/.zsh/functions
source $HOME/.zsh/aliases
# N.B: Aliases are also sourced in .zshenv so that they are available in non-interactive shells like vim
source $HOME/.zsh/dgms.zsh-theme
source $HOME/.zsh/explicit_aliases.sh
# Enable the hash key
bindkey -s '^[3' \#
source ~/k/k.sh
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
. $HOME/.asdf/asdf.sh
# append completions to fpath
fpath=(${ASDF_DIR}/completions $fpath)
# initialise completions with ZSH's compinit
autoload -Uz compinit && compinit
export PATH="/usr/local/opt/[email protected]/bin:$PATH"
source ~/.iterm2_shell_integration.zsh
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
nvm alias default node # default to the latest installed version
nvm use default --slient