Commit Graph

152 Commits

Author SHA1 Message Date
Eduardo Bellido Bellido
0227691ca9 More info about Git repository added
Now, staged, unstaged and untracked files count can be shown in themes
2014-12-24 00:36:01 +01:00
Kovica
35adbaf7b3 On new repositories ./hg/branch and .hg/dirstate do not exist. In this case use "hg summary" 2014-12-12 20:32:04 +01:00
Kovica
324e1edfce Don't need that echo 2014-12-12 15:51:12 +01:00
Kovica
6f126b80e4 Added comments 2014-12-12 15:19:28 +01:00
Kovica
8914d452d8 We don't need return values 2014-12-12 15:08:07 +01:00
kovica
9a134acd06 Update base.theme.bash
Faster Mercurial status
2014-12-12 11:54:00 +01:00
Ben Brunton
d7912f8f1b prevent battery_charge call from erroring in themes when battery plugin not enabled 2014-11-12 17:27:38 +00:00
Travis Swicegood
43eb4950b1 Merge pull request #345 from carlos-reynosa/scm-status-check-flag
Version Control Environment & Status Check Flag
2014-11-03 16:00:48 -08:00
Eric Baer
b517629303 Don't return rbenv or rvm if the don't exist 2014-10-28 18:08:01 -07:00
Carlos E. Reynosa-Nunez
34e9525f1a Added a flag within the base theme to turn version control checks completely off or on. 2014-10-04 17:13:23 -07:00
Eduardo Bellido Bellido
c6bb8507ad Fix regression checking git repo status 2014-08-26 00:23:27 +02:00
Eduardo Bellido Bellido
f9448f5ebb Fix regression in git prompt 2014-08-13 22:47:34 +02:00
Eduardo Bellido Bellido
ee698fbae3 Added support to git old versions 2014-08-01 00:49:57 +02:00
hequn
4eea1555aa Add git config option bash-it.hide-status to decide whether check git status. 2014-04-02 18:41:28 +08:00
Travis Swicegood
51416056b2 Add ability for themes to specify that you're viewing a tag along with Powerline implementation 2014-04-01 10:41:00 -05:00
Steven Koeberich
769e1d57a9 added support for git tags 2014-03-17 17:29:12 +01:00
Christophe Aguettaz
c06ecc53cb Git-related fixes for themes.
Improved prompt display speed when git is not installed by
preventing bash from walking the path before each prompt.

Removed pesky stash-related git error message when in bare repos.
2014-03-15 11:38:25 +01:00
Christophe Aguettaz
714f0e6099 Improved prompt speed when hg is not installed.
Prevented bash from walking the path looking for hg when it is not
installed during each prompt refresh.
2014-03-14 16:32:19 +01:00
Travis Swicegood
0986e40d6c Merge pull request #263 from aramprice/master
Update chruby prompt to show "(system)" when using system ruby
2014-02-05 15:57:34 -06:00
aram price
306f7b1587 Update chruby prompt to show "(system)" when using system ruby 2014-02-04 12:06:02 -08:00
Marshall Yount
231d7fcd48 fix bug where "no active gemsets" displayed to STDERR 2014-01-16 12:04:47 -06:00
Marshall Yount
2bc89fd8c1 add support for rbenv gemset command to bash prompt 2014-01-09 12:37:06 -06:00
Travis Swicegood
24c1cd1170 Trim the whitespace from git stash output 2013-11-25 17:07:14 -06:00
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
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
Daniel Leavitt
5659a73445 Show rbenv active ruby rather than system ruby 2012-04-24 23:08:40 -07:00
Eitan Adler
3fc60b5358 Fix bogus bash binary location 2012-04-17 00:24:58 -04: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
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
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
65ce6fdb6f Merge branch 'master' of https://github.com/desandro/bash-it 2011-06-17 22:48:07 -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
David DeSandro
3dc4620320 SCM_NONE_CHAR='.' -> dot if no repo 2011-06-17 10:24:04 -04: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
Jeff Kolesky
6dd943a23e adds git info to prompt below the root of a repository 2011-03-05 18:08:03 -05: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
Florian Baumann
8c6197717a fixed debian dirty prompt bug 2010-11-22 11:44:28 +01:00
John Schulz
d5645e74a0 Theme changes
* Load colors before base theme so they can be used by base theme
 * Change git-specific variables to SCM-agnostic ones
2010-11-09 23:21:19 -05:00
Robert R Evans
468c0c5ce9 Merged in mrman208's additions. 2010-10-14 15:11:02 -07:00
Robert R Evans
b8ce9e629c Added a check to see if rvm is installed 2010-10-14 09:10:26 -07:00
Robert R Evans
698509adb0 Added rvm prompt info 2010-10-09 21:46:28 -07:00
Robert R Evans
45a50c099e Updated the color themes. Added underline and background colors. 2010-10-09 15:01:50 -07:00
Robert R Evans
70c3b523b3 Added a couple more themes and put colors into its own file 2010-10-03 11:50:22 -07:00