Add THEME_PROMPT_HOST for use in prompts

This switches the doubletime theme over to using a variable for
determining what to display in the prompt.  The original version's use
of a hard-coded `@local` means you would have that suffix displayed even
on remote machines.
This commit is contained in:
Travis Swicegood
2011-02-28 13:46:22 -06:00
parent 8ac6e4414e
commit 0c2f3093a0
2 changed files with 2 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
#!/bin/bash
THEME_PROMPT_HOST='\H'
SCM_THEME_PROMPT_DIRTY=' ✗'
SCM_THEME_PROMPT_CLEAN=' ✓'
SCM_THEME_PROMPT_PREFIX=' |'