-
Notifications
You must be signed in to change notification settings - Fork 0
/
scythe.zsh-theme
30 lines (25 loc) · 979 Bytes
/
scythe.zsh-theme
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
directory() {
echo "%B%{$fg[cyan]%}%~ %{$reset_color%}%b"
}
current_time() {
echo "%B⪦ %* %b"
}
return_status() {
echo "%{$fg[red]%}%(?..🞫 )%{$reset_color%}"
}
prompt_end() {
echo -n "%{%k%}"
echo -n "\n%B⪧ %{%f%}%b"
}
ZSH_THEME_GIT_PROMPT_PREFIX="on %{$fg[red]%}%B "
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY=" \u25c9 "
ZSH_THEME_GIT_PROMPT_CLEAN=""
ZSH_THEME_GIT_PROMPT_ADDED="%{$fg[cyan]%} ✈ added %{$reset_color%}"
ZSH_THEME_GIT_PROMPT_MODIFIED="%{$fg[yellow]%} ✭ modified %{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DELETED="%{$fg[red]%} ✗ deleted %{$reset_color%}"
ZSH_THEME_GIT_PROMPT_RENAMED="%{$fg[blue]%} ➦ renamed %{$reset_color%}"
ZSH_THEME_GIT_PROMPT_UNMERGED="%{$fg[magenta]%} ✂ unmerged %{$reset_color%}"
ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[white]%} ✱ untracked %{$reset_color%}"
PROMPT='$(return_status)$(directory)$(git_prompt_info)$(prompt_end)'
RPROMPT='$(git_prompt_status)$(current_time)'