60-prompt-oh-my-zsh.zsh 1.46 KB
Newer Older
Nigel Kukard's avatar
Nigel Kukard committed
1
2
# Set oh my zsh theme
ZSH_THEME="powerlevel9k"
Nigel Kukard's avatar
Nigel Kukard committed
3

Nigel Kukard's avatar
Nigel Kukard committed
4
# Setup powerlevel9k
Nigel Kukard's avatar
Nigel Kukard committed
5
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(context dir dir_writable vcs virtualenv)
Nigel Kukard's avatar
Nigel Kukard committed
6
7
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status root_indicator command_execution_time background_jobs history time)
POWERLEVEL9K_MODE=nerdfont-complete
Nigel Kukard's avatar
Nigel Kukard committed
8
9
10
11
12
13
14
15
16

# Shorten directory length
POWERLEVEL9K_SHORTEN_DIR_LENGTH=2

# Fix up icons a bit
POWERLEVEL9K_OS_ICON_BACKGROUND="white"
POWERLEVEL9K_OS_ICON_FOREGROUND="blue"
POWERLEVEL9K_DIR_HOME_FOREGROUND="white"
POWERLEVEL9K_DIR_HOME_SUBFOLDER_FOREGROUND="white"
Nigel Kukard's avatar
Nigel Kukard committed
17
POWERLEVEL9K_DIR_DEFAULT_FOREGROUND="white"
Nigel Kukard's avatar
Nigel Kukard committed
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

# Fix icon widths
POWERLEVEL9K_HOME_SUB_ICON="\uE18D "
POWERLEVEL9K_AWS_ICON="\uF270 "
POWERLEVEL9K_TEST_ICON="\uF188 "
POWERLEVEL9K_TODO_ICON="\uF133 "
POWERLEVEL9K_DISK_ICON="\uF0A0 "
POWERLEVEL9K_OK_ICON="\uF00C "
POWERLEVEL9K_SYMFONY_ICON="\uE757 "
POWERLEVEL9K_APPLE_ICON="\uF179 "
POWERLEVEL9K_WINDOWS_ICON="\uF17A "
POWERLEVEL9K_ANDROID_ICON="\uF17B "
POWERLEVEL9K_LINUX_ICON="\uF17C "
POWERLEVEL9K_HOME_ICON="\uF015 "
POWERLEVEL9K_HOME_SUB_ICON="\uF07C "
POWERLEVEL9K_FOLDER_ICON="\uF115 "
POWERLEVEL9K_NETWORK_ICON="\uF1EB "
POWERLEVEL9K_SWAP_ICON="\uF464 "
POWERLEVEL9K_RAM_ICON="\uF0E4 "
POWERLEVEL9K_SERVER_ICON="\uF0AE "
POWERLEVEL9K_VCS_UNTRACKED_ICON="\uF059 "
POWERLEVEL9K_VCS_UNSTAGED_ICON="\uF06A "
POWERLEVEL9K_VCS_STAGED_ICON="\uF055 "
POWERLEVEL9K_SWIFT_ICON="\uE755 "
POWERLEVEL9K_PUBLIC_IP_ICON="\UF0AC "
POWERLEVEL9K_EXECUTION_TIME_ICON="\uF252 "
POWERLEVEL9K_SSH_ICON="\uF489 "