Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

Commit

Permalink
fixed closing color code for segment icon
Browse files Browse the repository at this point in the history
  • Loading branch information
n1kk committed Nov 17, 2018
1 parent 551a34e commit 4300902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generator/default.p9k
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ function __p9k_right_prompt_segment() {
echo -n "${bg}${fg}"

local visual_identifier
[[ -n "${SEGMENT_ICON}" ]] && visual_identifier="$__P9K_DATA[${STATEFUL_NAME}_VI]${SEGMENT_ICON}"
[[ -n "${SEGMENT_ICON}" ]] && visual_identifier="$__P9K_DATA[${STATEFUL_NAME}_VI]${SEGMENT_ICON}%f"

# if [[ ${(L)P9K_RPROMPT_ICON_LEFT} == "true" ]]; then # Visual identifier before content
# echo -n "${left_ws}"
Expand Down

0 comments on commit 4300902

Please sign in to comment.