From 4ed9d13b6d2354f419612b0370baef62a9a1b6ec Mon Sep 17 00:00:00 2001 From: Thorsten Ball Date: Mon, 23 Jan 2017 16:12:35 +0100 Subject: [PATCH] Try to fix bold black font on Linux in Terminator --- zshrc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/zshrc b/zshrc index b65ec46..5665b10 100644 --- a/zshrc +++ b/zshrc @@ -263,7 +263,15 @@ git_prompt_info() { echo "%{$fg_bold[green]%}${ref#refs/heads/}$dirstatus%{$reset_color%}" } -local dir_info_color="$fg_bold[black]" +# local dir_info_color="$fg_bold[black]" + +# This just sets the color to "bold". +# Future me. Try this to see what's correct: +# $ print -P '%fg_bold[black] black' +# $ print -P '%B%F{black} black' +# $ print -P '%B black' +local dir_info_color="%B" + local dir_info_color_file="${HOME}/.zsh.d/dir_info_color" if [ -r ${dir_info_color_file} ]; then source ${dir_info_color_file}