import nicy, strformat let prompt = color("› ", "magenta") nl = "\n" gitBranch = color(gitBranch(), "yellow") cwd = color(tilde(getCwd()), "cyan") dirty = color("×", "red") clean = color("•", "green") g = gitBranch & gitStatus(dirty, clean) git = italics(g) # the prompt echo fmt"{nl}{virtualenv()}{cwd}{git}{nl}{prompt}"