1
- # Custom IS-UZ Theme based in Dracula and Agnoster's Theme
1
+ # Custom Pre Theme based in Agnoster's Theme
2
2
# @author Leandro Matos <leandromatos@is-uz.com>
3
3
4
- # IS-UZ Theme v1.0.1
4
+ # Pre Theme v1.0.2
5
5
#
6
6
# https://github.com/leandromatos/is-uz
7
7
#
11
11
# http://mit-license.org
12
12
#
13
13
# @author Leandro Matos <leandro@is-uz.com>
14
-
15
- # Agnoster's Theme - https://gist.github.com/3712874
16
- # A Powerline-inspired theme for ZSH
17
14
#
18
15
# # README
19
16
#
20
17
# In order for this theme to render correctly, you will need a
21
18
# [Powerline-patched font](https://gist.github.com/1595572).
22
- #
23
- # In addition, I recommend the
24
- # [Solarized theme](https://github.com/altercation/solarized/) and, if you're
25
- # using it on Mac OS X, [iTerm 2](http://www.iterm2.com/) over Terminal.app -
26
- # it has significantly better color fidelity.
27
- #
28
- # # Goals
29
- #
30
- # The aim of this theme is to only show you *relevant* information. Like most
31
- # prompts, it will only show git information when in a git working directory.
32
- # However, it goes a step further: everything from the current user and
33
- # hostname to whether the last call exited with an error to whether background
34
- # jobs are running in this shell will all be displayed automatically when
35
- # appropriate.
36
19
37
20
# ## Segment drawing
38
21
# A few utility functions to make it easy and re-usable to draw segmented prompts
@@ -83,7 +66,7 @@ prompt_context() {
83
66
local user=` whoami`
84
67
85
68
if [[ " $user " != " $DEFAULT_USER " || -n " $SSH_CLIENT " ]]; then
86
- prompt_segment green black " %(!.%{%F{pink }%}.)$user "
69
+ prompt_segment black default " %(!.%{%F{yellow }%}.)✝ "
87
70
fi
88
71
}
89
72
@@ -105,7 +88,7 @@ prompt_git() {
105
88
106
89
# Dir: current working directory
107
90
prompt_dir () {
108
- prompt_segment cyan black ' %~'
91
+ prompt_segment blue black ' %~'
109
92
# echo $(pwd | sed -e "s,^$HOME,~," | sed "s@\(.\)[^/]*/@\1/@g")
110
93
}
111
94
0 commit comments