Robert Rauch
ba5e7c9268
Speed up $PROMPT_COMMAND by using rvm-prompt
...
Running `rvm tools identifier` seems to be really slow. Using [`rvm-prompt`](https://rvm.io/workflow/prompt ) greatly speeds up the evaluation of `$PROMPT_COMMAND`.
2016-02-06 21:19:30 +01:00
Eduardo Bellido Bellido
dfe811719f
Merge pull request #656 from edubxb/default-values
...
Set fallback values to POWERLINE_LEFT_PROMPT and POWERLINE_RIGHT_PROMPT variables
2016-02-03 23:05:22 +01:00
Eduardo Bellido Bellido
f05c56a440
Set fallback values to POWERLINE_LEFT_PROMPT and POWERLINE_RIGHT_PROMPT variables
2016-02-03 23:03:07 +01:00
Eduardo Bellido Bellido
c290aa9638
Fix an error when showing the status of a git repo
2016-02-03 22:58:19 +01:00
Nils Winkler
5617cc2e31
Fixed spelling and wording
...
Some minor changes in spelling, wording and formatting.
2016-02-01 08:32:19 +01:00
Nils Winkler
9a72ab8de1
Merge pull request #605 from edubxb/powerline-multiline-segmentorder
...
Add support to change the order of the prompt info in the Powerline Multiline theme
2016-01-31 20:14:26 +01:00
Eduardo Bellido Bellido
30c6fd1f59
Refactor __powerline_last_status_prompt function
2016-01-30 12:19:34 +01:00
Eduardo Bellido Bellido
f6436a878e
Fix some regressions and variables names
2016-01-30 12:18:07 +01:00
Eduardo Bellido Bellido
ead5047fb9
Reduce unset calls
2016-01-30 11:33:00 +01:00
Eduardo Bellido Bellido
8bee21e428
Update powerline-multiline README.md
2016-01-27 01:27:11 +01:00
Eduardo Bellido Bellido
6d4923aca8
Now, segments can be placed at left or at right
...
- Code refactor
- Print code converted into functions
- Remove unused variables
- Improved conistence in naming, variable and functions
2016-01-27 01:07:14 +01:00
Christophe Aguettaz
a2ac5b0096
Fixed compatibility with older bash versions.
...
Older versions (like 3.2, current default on MacOS X) don't implement
readarray.
2016-01-26 20:05:47 +01:00
Eduardo Bellido Bellido
dfbd065bc1
Fix indentation
2016-01-25 21:49:50 +01:00
Eduardo Bellido Bellido
64e6f354dc
Add Powerline Multiline theme README.md
2016-01-25 20:02:55 +01:00
Eduardo Bellido Bellido
1009b23724
Minor fixes
2016-01-25 20:02:55 +01:00
Eduardo Bellido Bellido
51f5614de5
Add support to change the segment order of the left and right prompt
2016-01-25 20:02:55 +01:00
Eduardo Bellido Bellido
eb92e2f845
Add support to change the order of the prompt info in the Powerline Multiline theme
2016-01-25 20:02:55 +01:00
Christophe Aguettaz
3fa0881281
[bugfix] Fixed performance issue with git prompt
...
The git prompt would could bash to use 100% CPU
for large amounts of time when dealing with long
`git status` outputs.
2016-01-25 20:02:50 +01:00
Tyler Freeman
17d69dbc1a
Added Primer (minimal time) theme, based off of the candy theme.
2016-01-13 18:31:10 -08:00
wxf
9cb4ae0650
add host info in titlebar
2016-01-01 16:29:26 +08:00
wxf
468475dc49
add personal theme
2016-01-01 15:36:50 +08:00
James Whisnant
fbd0a33cd1
fix normal user username
2015-12-19 23:37:12 -05:00
James Whisnant
ddba9555c7
use words instead of escape codes, some code cleanup
2015-12-19 23:28:23 -05:00
James Whisnant
337caf1a50
Add support to zork them for crouton debian chroot and virtualenv
...
Adds support for a crouton debian chroot and python virtualenvwrapper
to the zork theme.
2015-12-18 18:12:07 -05:00
Bill Moritz
b967674e6c
Add support for AWS Tools Profile.
...
http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html
2015-12-05 11:52:58 -05:00
Dongri Jin
9c9c20da2a
Fix
2015-11-27 01:41:19 +09:00
Dongri Jin
1eb7b4b4c2
Fix
2015-11-27 01:37:53 +09:00
Dongri Jin
53d2452276
Fix
2015-11-27 01:19:14 +09:00
Dongri Jin
5f246cfcac
Fix
2015-11-27 01:16:20 +09:00
Dongri Jin
5396bf69a0
Initial commit
2015-11-27 01:15:30 +09:00
Eduardo Bellido Bellido
56c6e3ecd3
Now, right prompt can be totally disabled in powerline multiline theme
...
- New env var (THEME_PROMPT_USERINFO_MODE) to choose "user info" mode:
Possible values:
default: same behaviour as before
sudo: only show a "hint" when sudo credentials are cached
any other values disables this segment.
2015-10-28 00:43:33 +00:00
Eduardo Bellido Bellido
86b9af62c3
Fix grep pattern
2015-09-10 20:07:04 +02:00
Matias Ibañez
1449036285
Update simple theme
...
PS1 definition via PROMPT variable produces an invalid prompt
2015-09-07 01:43:40 -03:00
Eduardo Bellido Bellido
d0565e8954
Add a flag (SCM_GIT_IGNORE_UNTRACKED) to ignore untracked files in git prompt
2015-09-06 20:02:20 +02:00
Reto Haeberli
ff87ad7482
New binaryanomaly theme
2015-09-06 12:22:48 +02:00
Eduardo Bellido Bellido
0943aec34b
Improvements in git prompt
...
- Git prompt now indicates when remote tracked branch is "gone"
- New env var (SCM_GIT_DETACHED) that indicates when HEAD is detached
- New env vars available for themes (SCM_THEME_BRANCH_TRACK_PREFIX,
SCM_THEME_BRANCH_GONE_PREFIX, SCM_GIT_DETACHED_CHAR)
- Refactor of git_prompt_vars function from base theme
2015-09-06 00:59:27 +02:00
Eduardo Bellido Bellido
78cb41a1cf
Add the option to show git branch remote tracking info in git prompt
2015-09-05 15:04:25 +02:00
Eduardo Bellido Bellido
86fd5cd5c4
Improve ref detection in git prompt
2015-09-05 02:12:38 +02:00
Nils Winkler
ad1b059d0d
Merge pull request #557 from bezhermoso/vim-indicator
...
Indicator if running bash in vim
2015-09-01 08:48:07 +02:00
Bez Hermoso
77a891d8c6
Check VIMRUNTIME instead
2015-08-31 16:36:07 -07:00
Bez Hermoso
29861812dd
Vim indicator for powerline-multiline theme
2015-08-31 12:07:39 -07:00
Bez Hermoso
e6dc31b35d
Indicator if running bash in vim
2015-08-31 10:22:28 -07:00
Nils Winkler
2cac4380b9
Merge pull request #545 from goromlagche/add-time-to-bobby
...
adding datetime and battery percentage to theme 'bobby'
2015-08-27 15:56:14 +02:00
goromlagche
f7877a1ef8
prefixing THEME to BATTERY_CHECK and CLOCK_CHECK
2015-08-27 19:00:18 +05:30
宋信强
5d6a68b201
Delete the execss function, modify the note and the shown style
2015-08-24 09:10:09 +08:00
宋信强
bdf1ede7ef
a new theme:axin,based on 'sexy'
2015-08-21 17:23:12 +08:00
goromlagche
e525ea1fbe
clock_check added, datetime added instaed of clock, also battery_percentage added
2015-08-12 22:59:18 +05:30
Hector Rivas Gandara
2360790ee3
Fix infinite loop when $PS4 calls external command
...
When using `set -x` with a `$PS4` variable which calls a external
command (e.g. `PS4='+ $(true)'`) the color functions end in a infite
loop.
The solution is `shift` the arguments unconditionally in the color
funtions.
This fixes #546
2015-08-12 12:00:14 +01:00
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