Commit Graph

152 Commits

Author SHA1 Message Date
Eduardo Bellido Bellido
38575181da Added support to show commits ahead, commits behind and stashes count in Git
through variables
2013-11-12 23:54:07 +01:00
Travis Swicegood
8bf641baec Merge pull request #233 from aramprice/master
Add chruby and chruby-auto plugins
2013-11-07 12:21:59 -08:00
Nils Winkler
460382a4e1 Added custom bash prompt, based on the 'my' theme.
This colors the arrow at the start of the second line based on the exit
code of the last command: green for 0, red for non-zero

This functionality currently fails when the 'fasd' plugin is enabled,
since it is messing with the PROMPT_COMMAND function.
2013-11-07 14:08:42 +01:00
aram price
b48a0f2f65 Add chruby and chruby-auto plugins
* chruby.bash loads chruby
  * chruby-auto.bash loads chruby and enables auto-switching
  * add chruby_version_prompt() function for displaying ruby version
  * inspired by https://gist.github.com/rssvihla/6153455
2013-11-03 18:08:03 -08:00
Conrado Buhrer
70e4ac9e55 fixed: hg branch grep+awk problem #197 2013-04-10 13:57:21 -03:00
manojlds
f93feb6e01 Using $VIRTUAL_ENV to set virtualenv prompt 2013-02-14 10:38:12 +05:30
xiaogaozi
cd7eaaa066 Change the test expression of Git 2012-05-04 22:51:48 +08:00
Travis Swicegood
773370bacd Merge remote-tracking branch 'CaptainPatate/master' 2012-05-02 11:14:47 -05:00
Travis Swicegood
b7e429b1f8 optimize this a bit 2012-05-01 17:25:47 -05:00
Travis Swicegood
e51c7fb97c Remove commented out stuff 2012-05-01 17:23:23 -05:00
Amaury Gauthier
30489e7775 Remove the color escape which mess up long command line in candy theme 2012-04-29 15:13:30 +02:00
Travis Swicegood
ec0c68781f Merge pull request #113 from dleavitt/master
Show rbenv's active ruby rather than global ruby in theme
2012-04-26 06:28:25 -07:00
Daniel Leavitt
5659a73445 Show rbenv active ruby rather than system ruby 2012-04-24 23:08:40 -07:00
Changwoo Park
9ba040a977 Make $HOSTNAME not necessary for hostname. 2012-04-25 09:53:43 +09:00
Eitan Adler
3fc60b5358 Fix bogus bash binary location 2012-04-17 00:24:58 -04:00
Travis Swicegood
64528985fe Add a multiline doubletime theme that only shows Python 2012-03-26 11:01:05 -05:00
Travis Swicegood
b3c4219124 Merge remote-tracking branch 'rjorgenson/master' 2012-03-13 07:35:30 -07:00
Travis Swicegood
5c29f7f1ff add a multi-line doubletime theme 2012-03-13 07:23:27 -07:00
Beren Minor
87d7d7ad34 Fixed issue #103 caused by "normal" colors not reseting bold/underline/... text attributes. 2012-02-14 09:13:51 +01:00
Beren Minor
879d54031d Even better color framework. 2012-02-08 09:35:21 +01:00
Beren Minor
1da06a4b63 Improved color framework. 2012-02-08 00:22:40 +01:00
Robert Jung
54ffcc0e7f Add new ruby_version_prompt to mbriggs theme 2012-01-27 12:35:57 +01:00
Travis Swicegood
b988a3e628 Merge remote-tracking branch 'hmans/rbfu_support' 2012-01-26 13:32:01 -06:00
Hendrik Mans
1be4467429 Update (most) themes to use new ${ruby_version_prompt} variable. 2012-01-26 16:07:06 +01:00
Travis Swicegood
ae3acff27d Add echo_ prefixed colors that work with echo -e (re: #96) 2012-01-26 08:18:59 -06:00
Hendrik Mans
2e8be86f2b Introduce $(ruby_version_prompt), wrapping around rbfu, rbenv and RVM support. 2012-01-24 14:31:23 +01:00
Hendrik Mans
d356ecb14b Add rbfu support.
Prompts can now display the currently active Ruby version set by rbfu, a tool similar to RVM and rbenv.
2012-01-24 14:30:01 +01:00
Robert Evans
12167fb1df Merge pull request #88 from victorcoder/master
New theme envy and rbenv integration/plugin
2011-12-19 10:34:33 -08:00
Matt Briggs
afbb092430 adds a ruby/git oriented theme 2011-11-13 15:54:01 -05:00
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
Victor Castell
76fcb58099 envy theme to implement rbenv version promt 2011-11-05 13:08:34 +01: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