-
Notifications
You must be signed in to change notification settings - Fork 9
/
prompt
64 lines (53 loc) · 1.95 KB
/
prompt
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
# Prompt settings # Alternatives starting at column 40
PROMPT_CHARACTER="⬡ " # ❯ ∠ ⋔ 🝓
PROMPT_PROMPT_ON_NEWLINE=false
# PROMPT_MULTILINE_FIRST_PREFIX="\n\r"
# PROMPT_MULTILINE_SECOND_PROMPT_PREFIX=${PROMPT_CHARACTER}
PROMPT_CARRIAGE_RETURN_ICON="↵"
PROMPT_LEFT_SEGMENT_SEPARATOR=""
PROMPT_LEFT_SUBSEGMENT_SEPARATOR=""
PROMPT_RIGHT_SEGMENT_SEPARATOR="⎪"
PROMPT_RIGHT_SUBSEGMENT_SEPARATOR="⎪"
PROMPT_FAIL_ICON="✕"
PROMPT_STATUS_VERBOSE=false
PROMPT_STATUS_BACKGROUND='red'
PROMPT_STATUS_FOREGROUND='white'
PROMPT_STATUS_ERROR_FOREGROUND='white'
PROMPT_STATUS_ERROR_BACKGROUND='red'
# PROMPT_GIT_ICON="⋋ "
PROMPT_GIT_ICON=""
PROMPT_OUTGOING_CHANGES_ICON="⇡" # ↥ ⊷ ↗ ⍏
PROMPT_INCOMING_CHANGES_ICON="⇣" # ↧ ⊶ ↙ ⍖ ⎌
PROMPT_TAG_ICON="\UF092 "
PROMPT_COMMIT_ICON="\UF03C "
PROMPT_BOOKMARK_ICON="\U1F516 "
# PROMPT_GIT_HIDE_BRANCH_ICON=false
# PROMPT_GIT_REMOTE_BRANCH_ICON="⑂ "
PROMPT_GIT_BRANCH_ICON="" # 🝓 ⤚
PROMPT_GIT_HIDE_BRANCH_ICON=true
PROMPT_GIT_STAGED_ICON="" # ⊕
PROMPT_GIT_UNSTAGED_ICON="" # ⊙
PROMPT_GIT_UNTRACKED_ICON="" # ⚐
PROMPT_GIT_HIDE_STASH_ICON=true
PROMPT_GIT_STASH_ICON="" # ⎆
# Advanced color customization
PROMPT_FOREGROUND='black'
PROMPT_DARK_FOREGROUND='green'
PROMPT_BACKGROUND='green'
# If changes are detected:
PROMPT_MODIFIED_FOREGROUND='black'
PROMPT_MODIFIED_BACKGROUND='white'
PROMPT_TIME_FOREGROUND='black'
PROMPT_TIME_BACKGROUND='magenta'
PROMPT_BATTERY_ICON="\U26A1"
PROMPT_BATTERY_CHARGING_FOREGROUND="black"
PROMPT_BATTERY_CHARGING_BACKGROUND="yellow"
PROMPT_BATTERY_CHARGED_FOREGROUND="white"
PROMPT_BATTERY_CHARGED_BACKGROUND="green"
PROMPT_BATTERY_DISCONNECTED=$DEFAULT_COLOR
PROMPT_BATTERY_LOW_FOREGROUND="white"
PROMPT_BATTERY_LOW_BACKGROUND="red"
PROMPT_BATTERY_LOW_THRESHOLD=15
PROMPT_LEFT_ELEMENTS=(status dir)
PROMPT_TIME_FORMAT="%D{%m/%d/%y %H:%M:%S}"
PROMPT_RIGHT_ELEMENTS=(time battery)