This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Header Generator | |
import json | |
import re as regex | |
header = "" | |
def address(addr): | |
return "0x%X" % addr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# GIT | |
GIT_PROMPT_PREFIX1=" %{$terminfo[bold]$fg[blue]%}on%{$reset_color%} " | |
GIT_PROMPT_PREFIX2="%{$terminfo[bold]$fg[magenta]%}:%{$terminfo[bold]$fg[yellow]%}" | |
GIT_PROMPT_SUFFIX="%{$reset_color%}" | |
GIT_PROMPT_DIRTY=" %{$terminfo[bold]$fg[red]%}✗%{$reset_color%}" | |
GIT_PROMPT_CLEAN=" %{$terminfo[bold]$fg[green]%}✔%{$reset_color%}" | |
# Git info | |
local git_info='$(git_prompt_info)' | |
ZSH_THEME_GIT_PROMPT_PREFIX="${GIT_PROMPT_PREFIX1}%{$terminfo[bold]$fg[green]%}git${GIT_PROMPT_PREFIX2}" |