-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.spaceshiprc.zsh
87 lines (83 loc) · 2.71 KB
/
.spaceshiprc.zsh
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
82
83
84
85
86
87
SPACESHIP_TIME_SHOW=true
SPACESHIP_TIME_COLOR="250"
SPACESHIP_CHAR_SYMBOL="∴"
SPACESHIP_CHAR_SUFFIX=" "
# SPACESHIP_PROMPT_DEFAULT_PREFIX=""
SPACESHIP_PROMPT_PREFIXES_SHOW="false"
SPACESHIP_DIR_PREFIX=""
SPACESHIP_DIR_TRUNC="8"
SPACESHIP_DIR_LOCK_SYMBOL="${SPACESHIP_DIR_LOCK_SYMBOL=" "}"
SPACESHIP_GIT_ASYNC="false"
SPACESHIP_NODE_SYMBOL=" "
SPACESHIP_PACKAGE_SHOW="false"
SPACESHIP_PYTHON_SYMBOL=" "
# SPACESHIP_VENV_SYMBOL=" "
# SPACESHIP_VENV_SYMBOL="v:"
SPACESHIP_VENV_COLOR="green"
SPACESHIP_RUBY_SYMBOL=" "
SPACESHIP_EXIT_CODE_SHOW="true"
SPACESHIP_RUST_SYMBOL=" "
SPACESHIP_RUST_VERBOSE_VERSION="true"
SPACESHIP_BATTERY_SYMBOL_DISCHARGING="⇣ "
SPACESHIP_BATTERY_SYMBOL_CHARGING="⇡ "
SPACESHIP_BATTERY_THRESHOLD="20"
SPACESHIP_KUBECTL_SHOW="true"
SPACESHIP_KUBECTL_SYMBOL="k8s:"
SPACESHIP_KUBECTL_COLOR="025"
SPACESHIP_KUBECTL_CONTEXT_COLOR_GROUPS=(
# red if namespace is "kube-system"
red '\(kube-system)$'
# else, green if "dev-01" is anywhere in the context or namespace
green dev
# else, red if context name ends with ".k8s.local" _and_ namespace is "system"
red '\.k8s\.local \(system)$'
red 'prod'
# else, yellow if the entire content is "test-" followed by digits, and no namespace is displayed
yellow '^test-[0-9]+$'
)
SPACESHIP_PROMPT_ORDER=(
subshell
# time # Time stamps section
# user # Username section
dir # Current directory section
# host # Hostname section
git # Git section (git_branch + git_status)
# hg # Mercurial section (hg_branch + hg_status)
# package # Package version
node # Node.js section
ruby # Ruby section
elixir # Elixir section
# xcode # Xcode section
# swift # Swift section
golang # Go section
# php # PHP section
rust # Rust section
# haskell # Haskell Stack section
# julia # Julia section
# docker # Docker section
# aws # Amazon Web Services section
python
venv # virtualenv section
conda # conda virtualenv section
# dotnet # .NET section
# ember # Ember.js section
# k8s
# kubectl_context # Kubectl context section
# kubectl_version
kubectl
terraform # Terraform workspace section
# exec_time # Execution time
line_sep # Line break
battery # Battery level and status
# vi_mode # Vi-mode indicator
jobs # Background jobs indicator
# exit_code # Exit code section
char # Prompt character
)
SPACESHIP_RPROMPT_ORDER=(
exit_code # Exit code section
exec_time # Execution time
awsvault
op
time # Time stamps section
)