Skip to content

Commit

Permalink
Try to fix bold black font on Linux in Terminator
Browse files Browse the repository at this point in the history
  • Loading branch information
mrnugget committed Jan 23, 2017
1 parent ba4fb20 commit 4ed9d13
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion zshrc
Expand Up @@ -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}
Expand Down

0 comments on commit 4ed9d13

Please sign in to comment.