-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc.controller
51 lines (41 loc) · 1.29 KB
/
.zshrc.controller
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
# computer specific settings
export PROMPT_MACHINE_BACKGROUND_COLOR=060
export Z_HOME="$HOME/apps/z"
export GCLOUD_HOME="$HOME/apps/google-cloud-sdk"
export RC_HOME="$HOME/rc"
# Add in your additional plugins here
plugins=(
docker
docker-compose
git
gitignore
gcloud
kubetail
rsync
)
# run the default zsh config from the RC repo
source $RC_HOME/.zshrc
# Host color display in terminal
export HOST_DISPLAY_COLOR=$FG[050]
# Redshred envs
source $HOME/.config/.redshred
# jump around
# Launch any background apps, glances and jupyterlab
tmux has-session -t services 2> /dev/null || tmux new-session -ds services $HOME/.pyenv/versions/base/bin/glances -s
tmux display-message -t services:jupyter 2> /dev/null || tmux new-window -t services -n jupyter -d jl
# make the capslock into an escape key
setxkbmap -option caps:escape
# Installed app initis
source $Z_HOME/z.sh
source $RC_HOME/fzf_init.zsh
source $RC_HOME/nvm_init.zsh
source $RC_HOME/pyenv_init.zsh
source $RC_HOME/gcloud_init.zsh
# Completions
source <(kubectl completion zsh)
source <(skaffold completion zsh)
source <(minikube completion zsh)
# custom aliases before below to allow for completion
alias k='kubectl'
alias install-kernel='python -m ipykernel install --user --name `cat .python-version`'
alias code=code-insiders