forked from benoitgrelard/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
81 lines (61 loc) · 1.74 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 you come from bash you might have to change your $PATH.
export PATH=$HOME/go/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
# Disable theme as we'll use "pure"
ZSH_THEME=""
plugins=(
git
docker
docker-compose
gcloud
golang
kubectl
npm
nvm
terraform
zsh-autosuggestions
zsh-history-substring-search
zsh-syntax-highlighting
)
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=white'
source $ZSH/oh-my-zsh.sh
# User configuration
# export MANPATH="/usr/local/man:$MANPATH"
# You may need to manually set your language environment
# export LANG=en_US.UTF-8
# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
# export EDITOR='vim'
# else
# export EDITOR='mvim'
# fi
# Compilation flags
# export ARCHFLAGS="-arch x86_64"
# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
#
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
alias ".."="cd .."
alias "..."="cd ../.."
alias "...."="cd ../../.."
alias "....."="cd ../../../.."
alias "ll"="ls -la"
alias "code"="code-insiders"
export LSCOLORS=exfxcxdxbxegedabagacad
# fix pure on m1 mac
fpath+=/opt/homebrew/share/zsh/site-functions
# load the pure prompt
autoload -U promptinit; promptinit
# fix autocomplete colors
zstyle ':completion:*:default' list-colors \
"di=34" "ln=35" "so=32" "pi=33" "ex=31" "bd=34;46" "cd=34;43" \
"su=30;41" "sg=30;46" "tw=30;42" "ow=30;43"
prompt pure
export EDITOR="code-insiders -w"
export PATH="/opt/homebrew/opt/openjdk/bin:$PATH"
export USE_GKE_GCLOUD_AUTH_PLUGIN="True"