File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -137,6 +137,9 @@ prompt_pure_preprompt_render() {
137
137
# Initialize the preprompt array.
138
138
local -a preprompt_parts
139
139
140
+ # Username and machine, if applicable.
141
+ [[ -n $prompt_pure_state [username] ]] && preprompt_parts+=($prompt_pure_state [username])
142
+
140
143
# Set the path.
141
144
preprompt_parts+=(' %F{${prompt_pure_colors[path]}}%~%f' )
142
145
@@ -158,8 +161,6 @@ prompt_pure_preprompt_render() {
158
161
preprompt_parts+=(' %F{$prompt_pure_colors[git:stash]}${PURE_GIT_STASH_SYMBOL:-≡}%f' )
159
162
fi
160
163
161
- # Username and machine, if applicable.
162
- [[ -n $prompt_pure_state [username] ]] && preprompt_parts+=($prompt_pure_state [username])
163
164
# Execution time.
164
165
[[ -n $prompt_pure_cmd_exec_time ]] && preprompt_parts+=(' %F{$prompt_pure_colors[execution_time]}${prompt_pure_cmd_exec_time}%f' )
165
166
You can’t perform that action at this time.
0 commit comments