Commit Graph

325 Commits (d05c88a23b6a27b7e4fe510c49e377ff37f97d01)

Author SHA1 Message Date
Eduardo Bellido Bellido 48f5763fc6 Adapted Powerline-plain theme to new base theme 2014-12-31 19:57:41 +01:00
Eduardo Bellido Bellido 01aaf69a96 Adapted Powerline theme to new base theme 2014-12-31 19:45:10 +01:00
Eduardo Bellido Bellido 4b97037af4 Moved some features from Powerline theme to base theme 2014-12-31 19:44:10 +01:00
Eduardo Bellido Bellido 2830020c5d Added an option to show (defaults true) the details in git repos 2014-12-29 21:54:46 +01:00
Eduardo Bellido Bellido 41b0677726 Show ref type in git prompt in Powerline-plain theme 2014-12-29 02:38:09 +01:00
Eduardo Bellido Bellido b0ce36b8ed Show ref type in git prompt in Powerline theme 2014-12-29 02:38:00 +01:00
Eduardo Bellido Bellido 54921d9294 Now git_prompt_vars indicates when HEAD not points to a branch 2014-12-29 02:26:09 +01:00
Eduardo Bellido Bellido 2e7a14ee3b Include latest changes from powerline into powerline-plain 2014-12-24 01:35:54 +01:00
Eduardo Bellido Bellido 78e0dedb0b Added more Git repository info to Powerline Plain theme 2014-12-24 00:37:31 +01:00
Eduardo Bellido Bellido 3e17b17846 Added more Git repository info to Powerline theme 2014-12-24 00:37:31 +01:00
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
Hannes 3acc5acc4f Update pure.theme.bash
Fixed an issue, where ps_root_mark was not defined
2014-12-08 13:39:38 +01:00
Ben Brunton 1c83611faa updated brunton theme to use battery_charge 2014-11-13 09:17:04 +00: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
Ben Brunton e7f1bf8645 deleted ~ file 2014-11-12 10:03:06 +00:00
Ben Brunton 18b77e2fec included safe battery charge to prevent error when battery plugin not enabled 2014-11-12 10:00:45 +00:00
Ben Brunton ba891f9d12 Delete brunton.theme.bash~ 2014-11-11 21:13:14 +00:00
Ben Brunton 60163a5350 inclued brunton theme 2014-11-11 21:11:23 +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
Conrado Buhrer 6b6644b94a added: slick theme 2014-10-28 11:39:39 -02:00
Omer Katz 3d36ad7522 Merge pull request #227 from ebautistabar/demula.lastcmdfail
Fixes in demula theme
2014-10-28 12:34:45 +02:00
Omer Katz 93f48596ad Merge pull request #269 from f/master
new duru theme with clean and simple interface
2014-10-28 12:30:54 +02:00
Omer Katz 9c6bffa21c Merge pull request #178 from luan/luan-theme
Added my custom theme
2014-10-28 12:21:47 +02:00
Omer Katz 695e43636b Merge pull request #181 from roderik/theme/roderik
Added my own theme, based on gentoo's prompt
2014-10-28 12:15:41 +02: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
Travis Swicegood ccbb79946a Merge pull request #318 from edubxb/old-git-support
Added support to git old versions
2014-08-25 13:21:27 -07:00
Travis Swicegood 08fd9ed25e Merge pull request #331 from iterateNZ/iterate_theme
Update iterate theme
2014-08-25 10:24:03 -07:00
EHJ-52n 495697cd00 Change name of ip function to remove masking of ip command in bash 2014-08-20 12:28:17 +02:00
Phillip Aldridge cb08b74ffa Don't repeat the prompt if it hasn't changed 2014-08-20 09:54:52 +12: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
Phillip Aldridge 449cc8b5db Add new theme: Iterate 2014-05-09 11:46:35 +12:00
Travis Swicegood 057755a91b Merge pull request #280 from hawkbee/hawkbee
Add git config option bash-it.hide-status to decide whether check git st...
2014-04-08 15:25:37 -05:00
Travis Swicegood aeb08aea3f Update powerline to show conda environments 2014-04-05 09:14:55 -05: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
Travis Swicegood 1ec1c938b1 Merge pull request #275 from caguettaz/world
Improved prompt speed when hg is not installed.
2014-03-15 08:47:45 -05: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
Matt Griffin 25459a39fc [sexy theme] remove extra reset which finds its way into stdout
Stray sgr0 was emitted to stdout, corrupting application output.
2014-03-05 21:24:59 -05:00
Fatih Kadir Akın acc0cf2613 fix wordings 2014-02-20 13:07:33 +02:00
Fatih Kadir Akın ec2245abb1 color fix for light themes 2014-02-19 15:45:23 +02: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 e8a90532b9 Merge pull request #225 from Bakke/master
Add Bakke theme
2014-01-02 09:44:35 -08:00
Travis Swicegood f26584f649 Merge pull request #244 from oddjobsman/master
Modified theme to use PROMPT_COMMAND instead of PS1
2013-12-17 14:53:14 -08:00
Mariusz Fik c2c5f381c0 New simple theme, named 'pure'.
Signed-off-by: Mariusz Fik <fisiu@opensuse.org>
2013-12-16 21:09:50 +01:00
oddjobsman faa8b91271 Modified theme to use PROMPT_COMMAND instead of PS1 2013-11-28 00:07:29 +05:30
Travis Swicegood 1a885b957f Add a fallback in case Git isn't being used (*shutters*) 2013-11-25 18:06:33 -06:00
Travis Swicegood 16704a68aa Update to show the difference between staged, unstaged, and untracked files 2013-11-25 18:02:58 -06:00
Travis Swicegood 24c1cd1170 Trim the whitespace from git stash output 2013-11-25 17:07:14 -06:00
Travis Swicegood 8701f70397 Merge remote-tracking branch 'edubxb/master' 2013-11-25 16:22:38 -06:00
Travis Swicegood 4679ca37a1 Merge pull request #229 from oddjobsman/master
Added Sexy Bash Prompt suggested by @addyosmani in "A Toolbelt For The M...
2013-11-25 14:18:30 -08:00
Eduardo Bellido Bellido 91538bce78 Now, really fixed wrong number for white color in Powerline and Powerline-plain themes 2013-11-15 20:57:27 +01:00
Eduardo Bellido Bellido ca0d29e2af Fixed wrong number for white color in Powerline and Powerline-plain themes 2013-11-15 17:57:05 +01:00
Eduardo Bellido Bellido 96b370ad06 Added Powerline-plain theme 2013-11-13 22:45:05 +01:00
Eduardo Bellido Bellido 68dc6768c8 Added Powerline theme 2013-11-13 00:01:09 +01: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
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
oddjobsman 8c7b07917b Added Sexy Bash Prompt suggested by @addyosmani in "A Toolbelt For The Modern WebApp Developer" as bash-it theme. 2013-09-17 19:04:50 +05:30
Enrique Bautista f096b0fcc0 Check that battery plugin is enabled before calling battery functions in demula theme 2013-08-31 16:23:38 +02:00
Enrique Bautista e0b2984e5c Fixed display of last failed command in demula theme 2013-08-30 18:18:08 +02:00
magnus 9933aa145f Add Bakke theme 2013-08-20 21:46:09 +02: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
Roderik van der Veer 3fc4bfee47 Added my own theme, based on gentoo's prompt 2012-12-30 15:49:58 +01:00
Luan Santos d9a5cbf2ba Added custom theme 2012-12-15 00:04:11 -08:00
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
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