Commit Graph

122 Commits

Author SHA1 Message Date
rjorgenson
e305e48bee fixed some syntax problems
updated bash_it base install and theme stopped working
needed some syntax changes to show colors properly
cleaned up color disambiguation a bit
2011-11-12 01:10:24 -07:00
rjorgenson
25ff906c54 Merge remote-tracking branch 'upstream/master' 2011-11-12 00:48:45 -07:00
John Schulz
b2b629eb1f New prompt functions and variables
* `(git|svn|hg)_promp_vars` only assign values to the variables but do not `echo`
 * `(git|svn|hg)_promp_info` still `echo`s, but now calls `*_prompt_info` first
 * Introduce `SCM_CHANGE` to store the changeset id
 * Introduce `SCM_BRANCH` to store the branch name
2011-10-09 14:24:10 -04:00
Travis Swicegood
ed47f8fa18 Merge branch 'doubletree' 2011-08-22 09:29:35 -05:00
Travis Swicegood
41ca567f95 add color to the prefix 2011-07-23 21:48:07 -05:00
Travis Swicegood
11995c1c1d make sure its obvious which is ruby and which is python 2011-07-23 21:42:48 -05:00
Travis Swicegood
1251c20a58 add rvm to prompt 2011-07-23 21:42:22 -05:00
Travis Swicegood
aa56e2ad01 ditch custom virtualenv_prompt in favor of one in base 2011-07-23 21:42:02 -05:00
Ryan Kanno
caa1bba129 Moved IP and virtualenv variables to top of file 2011-07-09 14:04:08 -10:00
Ryan Kanno
6ecbdb3642 Merge remote-tracking branch 'upstream/master' 2011-07-08 09:03:45 -10:00
rjorgenson
35e1fe00e2 fixed a bug with colors in second line of prompt 2011-07-08 06:26:22 -07:00
Ryan Kanno
86aa9ff36a ip address can be enabled/disabled (default is enabled) 2011-07-07 22:13:29 -10:00
rjorgenson
0b218c4eb2 fixed todo count bug
todo module would still show up if todo.txt was installed but not
used with a blank value. Added a sanity check to make sure we actally
get a number back from todo.txt and do nothing if we dont
2011-06-29 01:27:24 -07:00
Travis Swicegood
d3a7bdc996 Merge pull request #64 from jcarouth/master
Get rid of "Fatal error: not a git repository…" errors
2011-06-27 21:13:15 -07:00
Adrian Rego
e1eb0114ed relieving headaches with a tylenol theme 2011-06-27 20:00:27 -04:00
Mark Szymanski
052da726df Get rid of old minimal-git theme 2011-06-25 11:52:50 -05:00
Mark Szymanski
ff0859d289 Move minimal-git theme into minimal theme 2011-06-25 11:50:56 -05:00
Jeff Carouth
6e8733ea98 Adding multiple SCM support to doubletime theme.
The doubletime theme improves the SCM status prompt for git.
However, it accomplishes this at the expense of other SCM
systems. This delegates prompt to the default bash-it prompt
function when the SCM is not git.
2011-06-25 10:05:25 -05:00
Mark Szymanski
4e14eefca8 Works now 2011-06-24 12:08:36 -05:00
Mark Szymanski
989de73330 No more bold 2011-06-24 12:06:30 -05:00
Mark Szymanski
b36d86ddff Add minimal-git theme
Just like the minimal theme, but with git info
2011-06-24 11:36:11 -05:00
Ryan Kanno
758c57621a Removed variables specific to hawaii50 theme :) 2011-06-18 10:07:26 -10:00
JFSIII
ccab485f74 Reverting alterations introduced in 3dc4620320 Moved SCM_NON_CHAR change to theme since it is theme-specific and shouldn't affect all themes. 2011-06-18 11:55:22 -04:00
JFSIII
4219db7aff Update theme to use the already escaped colors added in 46b8d27815 2011-06-18 11:23:26 -04:00
JFSIII
59f7a188a7 Add ${reset_color} at the end of PS1 to prevent color from bleeding 2011-06-18 11:04:01 -04:00
JFSIII
8b380c1914 Convert theme to use the already escaped colors introduced in 46b8d27815 2011-06-18 10:57:59 -04:00
rjorgenson
2b4f94a804 more customizations to prompt theme
made colors more modular and easy to change
changed some colors around
added function to dynamically pick the prompt character
changed the prompting character at end of prompt
2011-06-18 04:42:44 -07:00
rjorgenson
a59d785883 added todo.txt-cli count to prompt and cleaned up some color code
not sure if I like the placement of the todo count, but keeping it for now
2011-06-17 23:28:57 -07:00
JFSIII
65ce6fdb6f Merge branch 'master' of https://github.com/desandro/bash-it 2011-06-17 22:48:07 -04:00
JFSIII
0c0e67f901 Merge branch 'master' of http://github.com/revans/bash-it 2011-06-17 22:16:34 -04:00
JFSIII
1b7c9419bf Convert themes and plugins to use the update colors. Themes are no longer burdened with escaping the unprintable characters 2011-06-17 19:45:21 -04:00
Daniel Leavitt
bb99031325 Added "hg_prompt_info" to base theme - it is used by scm_prompt_info 2011-06-17 14:38:49 -07:00
Ryan Kanno
8e1107730d Needed to escape colors correctly for line wrapping to occur.
Removed extraneous DEFAULT_COLOR in prompt
2011-06-17 10:31:49 -10:00
JFSIII
46b8d27815 Change color definitions so they don't require escaping in the themes. When do you ever want those unprintable characters included in the character count? 2011-06-17 14:58:20 -04:00
David DeSandro
fcf358169f rainbowbrite theme : color branch status indicator 2011-06-17 10:34:20 -04:00
David DeSandro
3dc4620320 SCM_NONE_CHAR='.' -> dot if no repo 2011-06-17 10:24:04 -04:00
David DeSandro
1f1ab36f37 Add rainbowbrite theme
Looks like:
± ~/path/to (branch ✓) $

in glorious red / blue / yellow color scheme
2011-06-17 10:18:48 -04:00
rjorgenson
e8a4e35454 initial port of zork prompt theme to my own
more customization to come later
2011-06-17 06:13:55 -07:00
Ryan Kanno
49f897ae0d Changed ip function to use bash-it's func, parsing out 127.0.0.1
Attached public facing ip address to list
2011-06-09 13:20:41 -10:00
Ryan Kanno
b96345e00c Added VIRTUAL_PROMPT_ENABLED FLAG
Added -e to echo to interpret \
Updated bash conditionals to use [[]]
2011-06-09 12:18:11 -10:00
Ryan
09bd0ef5d0 Um, what was I thinking. Removed SCM_PROMPT_PREFIX and custom scm_info. (No
need for it).
2011-06-08 13:34:27 -10:00
Ryan
28e2aeda4d Refactored theme to remove scm_info and rename overridden functions 2011-06-08 11:57:16 -10:00
Ryan
0713fdc031 Added virtualenv_prompt to base.theme.bash (modeled after rvm_prompt)
Removed virtualenv/rvm from hawaii50 theme
2011-06-08 11:32:50 -10:00
Ryan
c7fcf20648 Updated scm function to include hg root to check for Mercurial
Removed scm function from hawaii50.theme.bash
2011-06-08 10:20:04 -10:00
Ryan Kanno
dcb0ddec2f Added comments
Added imgur screenshot
2011-06-07 08:25:45 -10:00
Ryan
f3787fdc2e Added comments to theme 2011-06-01 11:33:41 -10:00
Ryan
0df98ca8e9 Various theme cleanup (removing vars, extras) 2011-06-01 11:22:22 -10:00
Ryan Kanno
0611f861bc Changed color schemes
Completely removed prefix/suffix for scm
2011-05-31 21:38:41 -10:00
Ryan Kanno
9bd5b54984 Added color to the scm prompt 2011-05-31 21:23:33 -10:00
Ryan
09dfe7552c Added ip address (only good for a mac) :D
)
2011-05-31 19:17:10 -10:00