-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathzshrc
50 lines (40 loc) · 1.11 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
#!/bin/zsh
autoload -U compinit
compinit
autoload -U promptinit
promptinit
prompt spaceship
SPACESHIP_PROMPT_ORDER=(
time # Time stamps section
user # Username section
dir # Current directory section
host # Hostname section
git # Git section (git_branch + git_status)
pyenv # Pyenv section
kubectl # Kubectl section
line_sep # Line break
exec_time # Execution time
jobs # Background jobs indicator
exit_code # Exit code section
char # Prompt character
)
SPACESHIP_PROMPT_ADD_NEWLINE=false
SPACESHIP_KUBECTL_SHOW=true
SPACESHIP_KUBECTL_VERSION_SHOW=false
HISTSIZE=10000
HISTFILE="$HOME/.zhistory"
SAVEHIST=$HISTSIZE
setopt correctall
setopt autocd
setopt inc_append_history
setopt share_history
# export EDITOR=vim
# export VISUAL=vim
# kubectl completion
source <(kubectl completion zsh)
# add Pulumi to the PATH
export PATH=$PATH:$HOME/.pulumi/bin
BASE16_SHELL="$HOME/.config/base16-shell/"
[ -n "$PS1" ] && \
[ -s "$BASE16_SHELL/profile_helper.sh" ] && \
eval "$("$BASE16_SHELL/profile_helper.sh")"