-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.zshrc
More file actions
47 lines (37 loc) · 1.53 KB
/
.zshrc
File metadata and controls
47 lines (37 loc) · 1.53 KB
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
44
45
46
47
# Path to your oh-my-zsh installation.
export ZSH="/Users/cashton/.oh-my-zsh"
ZSH_THEME="lambda-gitster"
plugins=(
git
)
source $ZSH/oh-my-zsh.sh
# User configuration
# ssh
# export SSH_KEY_PATH="~/.ssh/rsa_id"
# VIM
# Use Neovim as "preferred editor"
export VISUAL=nvim
# Use Neovim instead of Vim or Vi
alias vim=nvim
alias vi=nvim
# vim config
export VIMCONFIG=~/.config/nvim
export VIMDATA=/.local/share/nvim
# export FZF_DEFAULT_COMMAND='rg --files'
export FZF_DEFAULT_COMMAND='git ls-files'
# TMUX
# tmux aliases
alias tm=tmux
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
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
# Golang settings
export GOPATH="$HOME/code/go"
export PATH="$HOME/code/go/bin:$PATH"
# tabtab source for serverless package
# uninstall by removing these lines or running `tabtab uninstall serverless`
[[ -f /Users/cashton/.nvm/versions/node/v10.7.0/lib/node_modules/serverless/node_modules/tabtab/.completions/serverless.zsh ]] && . /Users/cashton/.nvm/versions/node/v10.7.0/lib/node_modules/serverless/node_modules/tabtab/.completions/serverless.zsh
# tabtab source for sls package
# uninstall by removing these lines or running `tabtab uninstall sls`
[[ -f /Users/cashton/.nvm/versions/node/v10.7.0/lib/node_modules/serverless/node_modules/tabtab/.completions/sls.zsh ]] && . /Users/cashton/.nvm/versions/node/v10.7.0/lib/node_modules/serverless/node_modules/tabtab/.completions/sls.zsh