-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
81 lines (61 loc) · 1.44 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
if [[ -d /home/linuxbrew/.linuxbrew ]]; then
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
fi
path+=("/usr/local/bin")
path+=("/usr/local/sbin")
export PATH
export ZSH="$HOME/.oh-my-zsh"
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
export VISUAL=nvim
export EDITOR="$VISUAL"
VI_MODE_SET_CURSOR=true
plugins=(
asdf
aws
docker
fzf
gcloud
gh
git
node
npm
terraform
vi-mode
fzf # must be after vi-mode
yarn
)
source $ZSH/oh-my-zsh.sh
# FZF theme (Catppuccin Latte)
export FZF_DEFAULT_OPTS=" \
--color=bg+:#ccd0da,bg:#eff1f5,spinner:#dc8a78,hl:#d20f39 \
--color=fg:#4c4f69,header:#d20f39,info:#8839ef,pointer:#dc8a78 \
--color=marker:#dc8a78,fg+:#4c4f69,prompt:#8839ef,hl+:#d20f39"
alias brewup='brew update; brew upgrade; brew cleanup; brew doctor'
alias cat="bat"
if [[ "$(uname)" == "Darwin" ]]; then
alias copy='pbcopy'
else
alias copy='xclip -sel clip'
fi
alias d='docker'
alias dfresh='docker kill $(docker ps -q); docker system prune --volumes --force'
alias dcupd='docker compose up -d'
alias g='git'
alias ip='curl ipv4.icanhazip.com'
alias ls='eza --icons'
alias lsa="ls -a"
alias lzd="lazydocker"
alias lzg="lazygit"
alias p='python3'
alias py='python3'
alias python='python3'
alias pip='pip3'
alias v="nvim"
alias vi="nvim"
alias vim="nvim"
eval "$(zoxide init zsh --cmd cd)"
eval "$(thefuck --alias)"
eval "$(starship init zsh)"
export GOPATH=$(go env GOPATH)
export PATH=$PATH:$(go env GOPATH)/bin