Commit Graph

255 Commits

Author SHA1 Message Date
goromlagche
39b5d0b042 adding time to bobby 2015-08-12 00:20:50 +05:30
Nils Winkler
658cfb7d6e Fixed battery conversion
For battery percentages of 08 and 09 percent, the `-le` would fail with
an error ("value too great for base"), since the numbers with leading
zeros are treated as octal numbers when using double brackets.

The solution is to force base 10 for the numbers. More details here:
http://stackoverflow.com/a/24777667/1228454
2015-08-04 11:31:01 +02:00
Mina Markham
bc7bcf0883 adding cupcake theme 2015-08-03 02:53:35 -04:00
Nils Winkler
1aadb24f38 Merge pull request #529 from ranaamritparth/theme/rana
New Theme
2015-08-02 18:36:41 +02:00
Heikki Ritola
436a25ed84 Dulcie theme upgrades
- Colorize prompt
- Support for multiline prompt
- Set tab title (OSC 0) and keep the current directory (OSC 7)
2015-08-02 12:18:35 +03:00
Aakash Shah
0e456639d7 Update base.theme.bash
Fix support for recognizing git when in submodules and the regression when in subdirectories of a git repository.
2015-07-23 13:58:55 -07:00
Rana Amrit Parth
8b2b2cae60 New Theme 2015-07-21 23:29:22 +05:30
Rana Amrit Parth
38f9cb6bc5 New theme rana 2015-07-21 18:58:17 +05:30
Dan Wendorf
c711b1b575 Show git prompt when in a detached HEAD state
The current check of `git symbolic-ref HEAD` does not detect git
repositories in the 'detached HEAD' state. This is the state a
repository is in if HEAD is not pointing to a valid branch or tag (e.g.
you are in a recently-initiated submodule).
2015-07-16 18:06:48 -07:00
Ian Huston
1b9dab7bc6 Modified version of the bobby theme which shows Python version, Virtualenv directory and Conda environment name. 2015-06-06 10:51:35 +01:00
Ian Huston
80c7874ebc Add Python version and Conda environment prompt functions. 2015-06-06 10:44:56 +01:00
jitakirin
595ae1ab07 Make powerline-multiline use the same check for sudo
Reduces number of subprocesses to check for passwordless sudo by 1.
2015-05-22 08:51:32 +01:00
jitakirin
b8649312e4 Style fix 2015-05-22 08:51:13 +01:00
jitakirin
473b3f2075 Abuse uptime to check if sudo requires password
The ``sudo -n true`` trick doesn't work on OS X.
2015-05-22 08:43:34 +01:00
jitakirin
9693b39da6 Port sudo indicator to powerline theme
This ports sudo indicator feature to powerline theme, originally added
to powerline-multiline theme in PR #452.
2015-05-21 21:12:18 +01:00
Nils Winkler
2160c70c15 Added sudo indicator
If the user is currently in a valid sudo session (sudo currently does
not require a password), then the username part of the right  prompt will use
a different color (orange). This gives an indication to the user that
sudo commands will not require a password at the moment. One example for
this might be that the user is reminded to run a `sudo -k` to terminate
the current sudo session before stepping away from the screen.
2015-04-20 08:30:16 +02:00
Miguel Morales
a915926851 Emperor theme; features time on the prompt with different colors for each quater of the hour 2015-04-07 15:52:30 -05:00
Ignasi Fosch
f3b8b8928d RVM prompt for powerline-multiline 2015-03-05 19:55:43 +01:00
Eduardo Bellido Bellido
87ba4761b5 Merge pull request #417 from edubxb/powerline-multiline
Powerline-multiline improvements
2015-03-05 19:52:41 +01:00
Eduardo Bellido Bellido
eba628065b Powerline-multiline improvements
- Changed some default CHARS for better font compatibility
- Make some CHARS user customizable
- Minor fixes
2015-03-05 19:51:16 +01:00
Heikki Ritola
2740706c6f Change order to emphasize current directory 2015-02-27 14:06:15 +02:00
Heikki Ritola
c4293d9c4e Add dulcie theme as a basic PS1 prompt with git info 2015-02-27 13:41:47 +02:00
Eduardo Bellido Bellido
71c5209ac6 Updated Powerline-multiline theme
- Prompt drawing fixes and improvements
- Support to show ac adapter status
2015-02-04 23:10:20 +01:00
Eduardo Bellido Bellido
7060850441 Improved Powerline-multiline theme
- Added a clock
- Added the battery status
- Visual improvements
2015-02-01 19:09:13 +01:00
Travis Swicegood
8a12d12725 Fix prompt character and remove clock (h/t @edubxb) 2015-01-18 15:09:02 -08:00
Eduardo Bellido Bellido
a17af1ce9a Merge pull request #393 from edubxb/theme-powerline-naked
Added Powerline-naked theme
2015-01-13 00:41:44 +01:00
Travis Swicegood
6e310a24fd Switch this up a little bit 2015-01-09 18:15:41 -08:00
Travis Swicegood
f23cc41f00 Add in a multi-line powerline theme 2015-01-09 11:40:05 -08:00
Eduardo Bellido Bellido
3c627f436c Added Powerline-naked theme 2015-01-06 23:57:11 +01:00
Eduardo Bellido Bellido
418e6fae14 Changed default value to true for SCM_GIT_SHOW_DETAILS 2015-01-06 12:57:57 +01:00
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