Commit Graph

4 Commits (b64d4bc0de02c7b88d19e9a0b9d5c5940510e90b)

Author SHA1 Message Date
Travis Swicegood ba9b5d22df Add support for showing what virtualenv is currently active
This works with virtualenvwrapper to detect when a virtualenv is
activated and adds "(<name>)" before the path that's being displayed.
2011-03-02 23:42:01 -06:00
Travis Swicegood 1638a1a435 Allow setting a custom host color
This change allows someone to change their host color by adding the
following to their `.bash_profile`:

    # change to red
    THEME_PROMPT_HOST_COLOR="red"
    # change to green
    THEME_PROMPT_HOST_COLOR="green"

Any variable inside the `colors.theme.bash` can be used and it will be
evaluated at the last minute.
2011-02-28 14:18:46 -06:00
Travis Swicegood 0c2f3093a0 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.
2011-02-28 13:46:22 -06:00
Karl Swedberg 8ac6e4414e new "doubletime" theme with more granular git status markers and two-line prompt 2011-02-27 17:54:35 -05:00