-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_zshrc
50 lines (37 loc) · 1.29 KB
/
dot_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
44
45
46
47
48
49
50
export GOPATH="$HOME/go"
export PATH="GOPATH/bin:$HOME/.cargo/bin:/Users/dshemin/bin:$PATH"
export ZSH="/Users/dshemin/.oh-my-zsh"
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="garyblessington"
CASE_SENSITIVE="true"
DISABLE_UNTRACKED_FILES_DIRTY="true"
HIST_STAMPS="yyyy-mm-dd"
plugins=(fzf git rust)
source $ZSH/oh-my-zsh.sh
[[ -r "/usr/local/etc/profile.d/bash_completion.sh" ]] && . "/usr/local/etc/profile.d/bash_completion.sh"
source "$HOME/.config/rustlang/autocomplete/rustup"
source <(kubectl completion zsh)
source <(helm completion zsh)
# Setup navi.
eval "$(navi widget zsh)"
# Preferred editor for local and remote sessions
if [[ -n $SSH_CONNECTION ]]; then
export EDITOR="vim"
else
export EDITOR="nvim"
fi
alias ls="exa --icons"
alias ll="ls -laF"
alias lt="ls -laF --tree"
alias ledger="ledger --strict"
alias k="kubectl"
alias cat="bat"
alias vim="nvim"
alias edit="/Applications/Neovide.app/Contents/MacOS/neovide"
alias sail='sh $([ -f sail ] && echo sail || echo vendor/bin/sail)'
export GOPATH="$HOME/go"
export PATH="$GOPATH/bin:$HOME/bin:$HOME/.cargo/bin:/Users/dshemin/bin:$PATH"
export PATH="$PATH:/Applications/Docker.app/Contents/Resources/bin"
export BARTIB_FILE="$HOME/.config/bartib.file"
# For pinentry, use cli instead of ui.
export GPG_TTY=$(tty)