File tree Expand file tree Collapse file tree 3 files changed +24
-8
lines changed Expand file tree Collapse file tree 3 files changed +24
-8
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,12 @@ Click on an option's name to see more info.
39
39
< img src=" _media/layouts/pure.png" alt=" pure prompt layout" />
40
40
< /p>
41
41
42
+ ** Pure - verbose variation (` TYPEWRITTEN_PROMPT_LAYOUT=" pure_verbose" ` )**
43
+
44
+ < p align=" center" >
45
+ < img src=" _media/layouts/pure_verbose.png" alt=" pure verbose prompt layout" />
46
+ < /p>
47
+
42
48
** Single line - verbose variation (` TYPEWRITTEN_PROMPT_LAYOUT=" singleline_verbose" ` )**
43
49
44
50
< p align=" center" >
Original file line number Diff line number Diff line change @@ -107,17 +107,27 @@ tw_redraw() {
107
107
if [ " $tw_git_info " != " " ]; then
108
108
tw_git_arrow_info=" $tw_arrow %F{$tw_git_branch_color }$tw_git_info "
109
109
fi ;
110
+
111
+ PROMPT=" $tw_env_prompt "
112
+ RPROMPT=" $tw_right_prompt_prefix$tw_displayed_wd$tw_git_arrow_info "
113
+
110
114
if [ " $tw_layout " = " pure" ]; then
111
115
PROMPT=" $BREAK_LINE$tw_displayed_wd$tw_git_arrow_info$BREAK_LINE$tw_env_prompt "
112
116
RPROMPT=" "
113
- else
114
- if [ " $tw_layout " = " singleline_verbose" ]; then
115
- PROMPT=" $tw_user_host $tw_env_prompt "
116
- elif [ " $tw_layout " = " multiline" ]; then
117
- PROMPT=" $BREAK_LINE$tw_user_host$BREAK_LINE$tw_env_prompt "
118
- else
119
- PROMPT=" $tw_env_prompt "
120
- fi ;
117
+ fi ;
118
+
119
+ if [ " $tw_layout " = " pure_verbose" ]; then
120
+ PROMPT=" $BREAK_LINE$tw_user_host $tw_displayed_wd$tw_git_arrow_info$BREAK_LINE$tw_env_prompt "
121
+ RPROMPT=" "
122
+ fi ;
123
+
124
+ if [ " $tw_layout " = " singleline_verbose" ]; then
125
+ PROMPT=" $tw_user_host $tw_env_prompt "
126
+ RPROMPT=" $tw_right_prompt_prefix$tw_displayed_wd$tw_git_arrow_info "
127
+ fi ;
128
+
129
+ if [ " $tw_layout " = " multiline" ]; then
130
+ PROMPT=" $BREAK_LINE$tw_user_host$BREAK_LINE$tw_env_prompt "
121
131
RPROMPT=" $tw_right_prompt_prefix$tw_displayed_wd$tw_git_arrow_info "
122
132
fi ;
123
133
fi ;
You can’t perform that action at this time.
0 commit comments