-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
53 lines (41 loc) 路 1.64 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
# OH-MY-ZSH Config
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
# ZSH_THEME="amuse"
# Which plugins would you like to load?
# Standard plugins can be found in $ZSH/plugins/
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git podman node)
source $ZSH/oh-my-zsh.sh
# Aliases
alias zshconfig="cat ~/.zshrc"
alias ohmyzsh="cat ~/.oh-my-zsh"
alias kkd='kubectx proco-dev; k9s'
alias kki='kubectx proco-int; k9s'
alias kkq='kubectx proco-qa; k9s'
alias kkp='kubectx proco-prod; k9s'
alias pn=pnpm
alias work='cd ~/dev/mediamarktsaturn/proco-frontend'
# GPG
## Ref.: https://github.com/keybase/keybase-issues/issues/2798
export GPG_TTY=$(tty)
# NVM
export NVM_DIR="$HOME/.nvm"
[ -s "$(brew --prefix)/opt/nvm/nvm.sh" ] && \. "$(brew --prefix)/opt/nvm/nvm.sh" # This loads nvm
[ -s "$(brew --prefix)/opt/nvm/etc/bash_completion.d/nvm" ] && \. "$(brew --prefix)/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion
# RUBY
export PATH="/usr/local/opt/ruby/bin:$PATH"
# STARSHIP THEME
eval "$(starship init zsh)"
# Set JAVA version to openjdk 17
#export JAVA_HOME=`/usr/libexec/java_home -v 17.0`
# Set to use gke-glouc-auth-plugin
export USE_GKE_GCLOUD_AUTH_PLUGIN=True
# Set PATH to ~/.config/.scripts folder
export PATH=$PATH:~/.config/.scripts