Nils Winkler
1022879553
Merge pull request #956 from Lin-Buo-Ren/fix-space-proof-issue-everywhere
...
Fix more space-in-path-proof issues
2017-05-08 09:13:04 +02:00
Luis Felipe Sánchez
3c60c2e678
Fix for all Operating Systems
...
All Operating Systems Supported
2017-05-04 08:50:53 -05:00
Luis Felipe Sánchez
4a1d1623af
Fix Colors
...
Fix Colors to all Operatin Systems
2017-05-03 17:47:21 -05:00
Luis Felipe Sánchez
5e0e1bda81
img changed
...
New Changes in the new img
2017-05-02 17:11:21 -05:00
Luis Felipe Sánchez
3c26c6394f
New Changes UI
...
New Changes in UI intefaz from pront and SUDO plugin with emoji icon
symbol
2017-05-02 16:59:03 -05:00
林博仁
e2d3419639
Fix more space-in-path-proof issues
...
Signed-off-by: 林博仁 <Buo.Ren.Lin@gmail.com>
2017-05-02 11:11:13 +08:00
Luis Felipe Sánchez
13f30838ba
Improvements in the theme for a better appearance, I hope you like, added the option of downloading the battery for a better style.
...
Improvements in the theme for a better appearance, I hope you like,
added the option of downloading the battery for a better style.
2017-04-28 13:55:38 -05:00
Ivan Font
301060cce2
Update font theme
...
- Use new user_host_prompt to add more configurability to theme
- Disable default clock being shown
2017-04-24 10:19:14 -07:00
Ivan Font
0ce7b8f4e0
Add function for user@host in prompt
2017-04-23 18:02:27 -07:00
DenMat
01e5cee40c
make this consistent like other declarations
2017-04-19 19:03:40 +10:00
DenMat
a5c693b6bc
Addresses vulnerability describe here https://github.com/Bash-it/bash-it/issues/920
...
* white lists acceptable characters and replaces dangerous characters with '-'
2017-04-19 18:45:50 +10:00
Nils Winkler
5fbef7c0cb
Merge pull request #934 from pix0r/master-pure-virtualenv
...
Add virtualenv to pure theme
2017-04-11 08:08:35 +02:00
Mike Matz
18364434ca
Use virtualenv_prompt from base.theme.bash
2017-04-10 07:08:23 -07:00
Daijiro Wachi
a014282707
Fix white color in colors.theme
2017-04-10 12:01:59 +02:00
Mike Matz
5dd75d3fd9
Add virtualenv to pure theme
2017-04-09 21:52:35 -07:00
Jeremy Mathevet
588213980d
Prevent unbound variable errors
2017-03-21 12:04:18 +00:00
Nils Winkler
c58088b509
Merge pull request #905 from font/font_theme
...
Added new font theme
2017-02-14 08:53:34 +01:00
Nils Winkler
db7ad196b7
Made the change from #902 available to Powerline themes
2017-02-14 08:49:45 +01:00
Nils Winkler
1dc3ee7efa
Merge pull request #902 from arimourao/powerline-sudo-fix
...
enable powerline theme to check if user can sudo his workstation
2017-02-14 08:43:00 +01:00
Ivan Font
ba25652662
Added new font theme
2017-02-12 16:58:48 -08:00
Ari Mourao
7d9628d4f5
refactoring to comply with standards
2017-02-12 14:03:45 -02:00
Nils Winkler
889ce4a9f3
Merge pull request #886 from font/scm_prompt_char_info
...
Add AIO function to echo scm prompt char and info
2017-02-12 10:15:58 +01:00
Ari Mourao
4eeb98772b
added suggested improvements
2017-02-10 16:43:22 -02:00
Ari Mourao
7415c85ed8
corrected typo
2017-02-09 15:22:49 -02:00
Ari Mourao
c7c488f0b0
enable powerscript to check if user can sudo his workstation
2017-02-09 14:45:25 -02:00
ari mourao
88802c141b
new theme 90210 added
2017-02-03 15:12:49 -02:00
Ivan Font
31e3d78ae4
Fix exact match regular expression for macOS
2017-01-29 22:38:58 -08:00
Tim Noise
6e1f389952
bugfix: powerline - IFS doesnt split \x20 in prompt on some machines
2017-01-30 06:10:28 +11:00
Tim Noise
b5e9e2386f
.
2017-01-30 05:44:55 +11:00
Tim Noise
808b6bd253
fixed ssh detection on el for powerline
2017-01-30 05:43:11 +11:00
Tim Noise
3d4c46bd12
Added redline theme, based on powerline
...
redline:
- added redline features to powerline
- added screenshot
- updated redline readme
- bugfix: resetting foreground color when distro logo is enabled
- fixed redline default element ordering
powerline:
- neater check for cached sudo
- started adding support for custom cwd separator glyph and color
bash-it:
- added sublime text to .gitignore
2017-01-30 05:08:07 +11:00
Tim Noise
e8b130a277
commented todo
2017-01-30 04:51:52 +11:00
Tim Noise
3ef6c0b66b
- fixed bug : resetting foreground color when distro logo is enabled
...
- neater check for cached sudo
- started adding support for custom cwd separator glyph and color
2017-01-30 04:34:45 +11:00
Tim Noise
a9a26a8112
element ordering
2017-01-28 15:15:22 +11:00
Tim Noise
bf3600c7e1
- added redline features to powerline
...
- added screenshot
- updated readme
2017-01-28 04:56:33 +11:00
Tim Noise
d03dfbd372
readme again -_-
2017-01-27 18:12:19 +11:00
Tim Noise
b92cedda87
readme minor
2017-01-27 18:08:06 +11:00
Tim Noise
4ea5b21bb3
Added redline theme, based on powerline
2017-01-27 17:55:25 +11:00
Ivan Font
1f0108193d
Fix for issue #883
2017-01-17 21:21:19 -08:00
Ivan Font
17999fcc13
Update bobby theme to use scm_prompt_char_info
...
The bobby theme now uses scm_prompt_char_info to print out the SCM char
and SCM prompt info. This also required fixing the
SCM_THEME_PROMPT_PREFIX to match GIT_THEME_PROMPT_PREFIX.
2017-01-16 23:23:13 -08:00
Ivan Font
48d4ad274a
Add prefix and suffix capability to SCM char
2017-01-16 23:20:31 -08:00
Ivan Font
9e4f1d6d80
Refactor common code into scm_prompt_info_common
2017-01-16 22:14:15 -08:00
Ivan Font
f9b1dcee26
Add AIO function to echo scm prompt char and info
...
Invoking the scm_char and scm_prompt_info functions separately for PS1
duplicates calls to the scm and scm_prompt_char functions to check what
${SCM}, if any, we currently reside in. This problem was exacerbated
when working outside of any repo as we had to go through all the
conditionals just to determine we're not in any scm repo. Unnecessary
conditionals slows down the prompt so this adds a new function that
streamlines printing out both the scm char and scm prompt info with one
invocation.
2017-01-16 22:14:15 -08:00
Ivan Font
a70b769817
Remove references to GIT_THEME_* variables
2017-01-04 17:43:56 -08:00
Ivan Font
1d55249181
Refactor functions and update documentation
...
Add new variable to enable/disable git prompt minimal status information
and consolidate functions for code re-use. Also update README
documentation to capture the usage of new variable.
2017-01-04 15:48:32 -08:00
Ivan Font
a068e3b66e
Add option for basic git status prompt
...
Fixes #873
2016-12-31 12:43:23 -08:00
Avasz
966a2bb383
Added credits
2016-12-09 10:40:42 +05:45
Avasz
d7d4cb9807
kitsune theme
2016-12-09 10:35:09 +05:45
Peter Benjamin
65e2514c63
Add theme: purity
2016-12-07 09:58:24 -08:00
Ivan Font
771082cdc2
Add prefix/suffix for clock prompt and clock char
2016-12-05 09:04:29 -08:00
MunifTanjim
f132df6eff
refactor brainy theme, add todo segment & ssh indicator and other minor updates
2016-11-24 21:09:15 +06:00
Eduardo Bellido Bellido
898bb10579
Fix powerline themes README.md
2016-11-09 21:04:18 +01:00
MunifTanjim
62554b84c8
add brainy theme
2016-10-31 05:57:39 +06:00
Nils Winkler
8a2b6bdc54
Merge pull request #815 from edubxb/powerline-themes-refactor
...
Refactor of all powerline themes
2016-10-30 16:22:15 +01:00
Eduardo Bellido Bellido
7427e7efc3
Powerline plain theme refactor
...
- Split functions and options in two files
- Import common functions from powerline theme
- Add README.md
2016-10-30 01:17:57 +02:00
Eduardo Bellido Bellido
47e6d57a82
Powerline naked theme refactor
...
- Split functions and options in two files
- Import common functions from powerline theme
- Add README.md
2016-10-30 01:16:47 +02:00
Eduardo Bellido Bellido
7229838c5b
Powerline multiline theme refactor
...
- Split functions and options in two files
- Import common functions from powerline theme
- Updated README.md
2016-10-30 01:16:37 +02:00
Eduardo Bellido Bellido
34bd7e49c3
Powerline theme refactor
...
- Split functions and options in two files
- Add README.md
2016-10-30 01:16:05 +02:00
MunifTanjim
8c9777df43
revert pull 797
2016-10-21 21:03:51 +06:00
MunifTanjim
a2a6fa2812
refactor themes to support standardized clock functions
2016-10-18 20:58:07 +06:00
MunifTanjim
8dde691671
standardize clock functions
2016-10-18 20:31:07 +06:00
MunifTanjim
08fba38c43
fix backward compatibility
2016-10-17 16:10:44 +06:00
MunifTanjim
7d901b11b6
seperate clock_char function
2016-10-17 04:11:09 +06:00
MunifTanjim
01dab32683
modify clock prompt for better customizability
2016-10-17 03:37:25 +06:00
MunifTanjim
4468c1b126
improve scm_prompt_info
2016-10-08 12:44:34 +06:00
Nils Winkler
66397ef577
Revert "Changes to sudo check for powerline themes"
2016-09-26 09:01:59 +02:00
Nils Winkler
5abbba98bd
Merge pull request #792 from VP468/vp468
...
Changes to sudo check for powerline themes - fixes #744
2016-09-26 14:55:19 +08:00
Vedhapriya Raman
28e9e04d4f
Changes for issue# 744
2016-09-23 20:50:55 -05:00
Damian Kaczmarek
b992698380
Fix bold font to make simple theme really simple
2016-09-23 14:22:09 -05:00
Sam Gunaratne
1a4c03b08c
Fixes issue with PROMPT_COMMAND ending in semi-colon
2016-08-03 10:04:24 +01:00
Nils Winkler
22d5dab238
Merge pull request #761 from wanelo/master
...
Wanelo Pairing workstations theme
2016-08-01 09:03:11 +02:00
Yuhao Wu
af96da5d11
Fix bug: themes break global $PROMPT_COMMAND variable
...
Safely append functions to $PROMPT_COMMAND instead of setting it.
2016-07-07 17:13:00 +09:00
Beorn Facchini
d1f5648b6b
Bash-it theme inspired by oh-my-zsh tonotdo.
2016-07-03 11:55:43 +10:00
Cristian Lupascu
734c937232
added the nwinkler_random_colors theme
2016-06-08 14:23:47 +03:00
Robert Rauch
669d068b12
Support HG_ROOT containing whitespaces
2016-06-02 10:36:37 +02:00
Gabriel Ricci
6228fa5e72
Adding support for rvm-promt to powerline-plain theme
2016-06-01 05:49:38 +00:00
Nils Winkler
ec30515a31
Merge pull request #719 from telyn/master
...
Rough port of oh-my-zsh's gallifrey theme
2016-05-19 18:01:11 +02:00
mairanteodoro
bcc536f81a
New color scheme for 'mairan' theme.
2016-05-18 16:50:31 -04:00
mairanteodoro
18f9a8ebc4
Add new theme 'mairan' (based on 'zork')
2016-05-18 12:57:05 -04:00
Telyn ZF Roat
47f9689868
Add rough port of oh-my-zsh's gallifrey theme
2016-05-12 11:55:23 +01:00
AlfredoBejarano
cff6025338
Removes pipes around ruby version
2016-04-20 00:58:08 -05:00
AlfredoBejarano
d2acf16646
Changes color for git status prompt
2016-04-20 00:32:28 -05:00
AlfredoBejarano
07236c0571
Adds spacing to git status icon
...
and changes the dirty and ahead icons
2016-04-20 00:29:02 -05:00
AlfredoBejarano
d8a22e6a0e
Adds cooperkid theme by AlfredoBejarano
2016-04-20 00:07:18 -05:00
Nils Winkler
e5d50f0d97
Simplified logic for both Linux and OS X
...
Avoiding the if statements, using exit code of `grep -q` instead.
Reverted the change that adds a space after the AC char. Opting for a
default value, allowing to override from one's profile.
2016-04-14 08:16:32 +02:00
Nils Winkler
a9c5670c2c
Added AC indicator support on OS X
...
Not sure about the logic for returning 1/0 from the function, though -
will have to clarify.
2016-04-12 09:56:03 +02:00
Nils Winkler
fd8ff61baa
Merge pull request #697 from clayreimann/patch-1
...
Display the prompt when changing directories
2016-04-10 12:55:35 +02:00
Brian Malehorn
2a3fde2b14
colors.theme.bash: pre-compute colors
...
bash-it takes rather a while to startup, around 0.5 seconds on my
laptop. After a bit of timing it appears the majority of the time is
spent in themes/colors.theme.bash. The reason for that is the fancy
abstraction layers that use $(). For example, consider this code:
red="$(color reset red)"
It will go through 9 forkexecs to evaluate:
red="$(color reset red)"
"$(__color_parse make_ansi reset red)"
"$(__make_ansi reset red)"
"\[\e[$(__reset red)m\]"
"\[\e[0;$(__red)m\]"
"\[\e[0;$(__color red)m\]"
"\[\e[0;$(__color_normal_fg $(__color_red))m\]"
"\[\e[0;$(__color_normal_fg 1)m\]"
"\[\e[0;31m\]"
With all the variables in colors.theme.bash, this adds up to hundreds of
forks:
$ strace -f bash ./colors.theme.bash 2>&1 | grep clone | wc -l
649
The solution is to replace the function with its result:
-red="$(color reset red)"
+red='\[\e[0;31m\]'
This is safe, since colors.theme.bash never calls external functions or
takes any input. So, its result can be safely hard-coded.
This improves startup time dramatically. Try adding "time" to your .bashrc:
# Load Bash It
time source $BASH_IT/bash_it.sh
before:
real 0m0.462s
user 0m0.100s
sys 0m0.399s
after:
real 0m0.150s
user 0m0.091s
sys 0m0.064s
2016-04-09 20:52:47 -07:00
Clay Reimann
93d70a6150
Display the prompt when changing directories
...
This change allows for the capture of the expanded prompt (rather than the raw `PS1`) so that
it is easier to maintain context when changing directories.
Fix is based on the comments from [this stackoverflow](http://stackoverflow.com/a/24006864 )
2016-04-08 12:27:25 -05:00
Nils Winkler
5ec816342f
Merge pull request #680 from kigster/scm_user
...
Adding support for git user & git pair in git prompt (off by default)
2016-03-18 08:12:17 +01:00
Konstantin Gredeskoul
36d994dec5
Explained `git pair` and a more reliable fallback
...
- Added more information to the README about the practice of using `git
pair`, and provided instructions on installing the support.
- Write a more reliable fallback that uses `user.name` to extract user
initials, when `user.initials` aren't set.
2016-03-16 20:15:20 -07:00
Konstantin Gredeskoul
b70018e531
Adding support for git user & git pair
2016-03-14 03:42:38 -07:00
Konstantin Gredeskoul
6de871294e
Adding support for rbenv in addition to rvm
...
- following existing patterns, clearing out RBENV prefix and suffix
- using existing function to read the prompt
2016-03-14 03:25:32 -07:00
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
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
guneysus
9b07aa85d6
small mods
2015-01-25 12:17:03 +02:00
Travis Swicegood
8a12d12725
Fix prompt character and remove clock (h/t @edubxb)
2015-01-18 15:09:02 -08:00
guneysus
7f0395a1d0
Powerturk theme derived from powerline theme
2015-01-17 23:41:01 +02: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
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
James Hart
7c1ecce354
Move emoji to unused line above!
...
- This was causing some issues when using the "up" arrow while
replaying history
2014-08-08 12:50:13 -07:00
Eduardo Bellido Bellido
ee698fbae3
Added support to git old versions
2014-08-01 00:49:57 +02:00
James Hart
dd3ba69402
Add a wanelo bashit theme, with time! and emojis to indicate good status, bad status!
2014-07-18 17:29:54 -07: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
Ryan Kanno
0611f861bc
Changed color schemes
...
Completely removed prefix/suffix for scm
2011-05-31 21:38:41 -10:00
Ryan Kanno
9bd5b54984
Added color to the scm prompt
2011-05-31 21:23:33 -10:00
Ryan
09dfe7552c
Added ip address (only good for a mac) :D
...
)
2011-05-31 19:17:10 -10:00
Ryan
2a6d1da317
Updated parse_svn_info
2011-05-31 19:03:28 -10:00
Ryan
aa2f1cbeb7
Added hg dirty/clean modifier
2011-05-31 18:41:07 -10:00
Ryan
06d71ab591
Updated git prompt
...
Started hg prompt
2011-05-31 16:10:30 -10:00
Ryan
1a83a4d193
Added hawaii50 theme
2011-05-31 13:19:20 -10:00
Travis Swicegood
9623fd442f
Allow clock to be formatted
2011-05-30 10:12:51 -05:00
Anton Shemerey
8f0b38ad0e
add zork theme
2011-05-26 23:12:30 +03:00
Mark Szymanski
b1e19cfe3e
Changed up minimal theme
...
Removed Vim prompt stuff and made the prompt cyan
2011-05-16 22:03:57 -05:00
Mark Szymanski
c517a74a39
Added dos theme
2011-04-29 17:56:04 -05:00
Daniel Engel
e56c71a002
Added 'tonka' prompt, and personal color scheme.
...
Added 'dirs' plugin, dor directory stack navigation.
2011-03-14 20:36:25 -04:00
Mark Szymanski
8dded4fdc5
Added battery info for modern theme
2011-03-06 18:40:16 -06:00
Jesus de Mula Cano
f98a728866
Check for OS type in demula theme prompt string
2011-03-07 01:11:20 +01:00
Jesus de Mula Cano
8cc74becc0
Fix demula theme output
2011-03-07 00:08:56 +01:00
Jesus de Mula Cano
23de53a084
battery plugin code clean up
2011-03-06 22:37:47 +01:00
Jesus de Mula Cano
0127dc2dc7
Add safe vcprompt use to demula theme and monokai colors. Update default template to include vcprompt path.
2011-03-06 18:49:08 +01:00
Jesus de Mula Cano
9681bae634
Update demula theme to use battery plugin
2011-03-06 18:17:17 +01:00
Jesus de Mula Cano
908e020a0b
Merge remote-tracking branch 'upstream/master'
2011-03-06 18:09:32 +01:00
Jeff Kolesky
6dd943a23e
adds git info to prompt below the root of a repository
2011-03-05 18:08:03 -05:00
Jesus de Mula Cano
a38012fb18
Added demula theme
2011-03-04 11:44:56 +01:00
Travis Swicegood
ba9b5d22df
Add support for showing what virtualenv is currently active
...
This works with virtualenvwrapper to detect when a virtualenv is
activated and adds "(<name>)" before the path that's being displayed.
2011-03-02 23:42:01 -06:00
Travis Swicegood
1638a1a435
Allow setting a custom host color
...
This change allows someone to change their host color by adding the
following to their `.bash_profile`:
# change to red
THEME_PROMPT_HOST_COLOR="red"
# change to green
THEME_PROMPT_HOST_COLOR="green"
Any variable inside the `colors.theme.bash` can be used and it will be
evaluated at the last minute.
2011-02-28 14:18:46 -06: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
Karl Swedberg
8ac6e4414e
new "doubletime" theme with more granular git status markers and two-line prompt
2011-02-27 17:54:35 -05:00
Mark Szymanski
2228826861
Added modern-t theme, theme to be used with the t ( http://stevelosh.com/projects/t/ ) utility
2011-02-14 21:12:25 -06:00
Mark Szymanski
047933378f
Added titlebar PWD to modern theme
2011-02-05 11:49:47 -06:00
Robert R Evans
ee943453ab
Updated my theme
2011-01-13 15:10:31 -08:00
Mark Szymanski
56d016aed1
Added feature to 'modern' theme to show if you are in vim's shell (achieved by the :sh command)
2010-12-19 09:40:52 -06:00
Mark Szymanski
7c13d46bb1
Added comment to 'modern' theme
2010-12-17 17:56:43 -06:00
Mark Szymanski
f3d19db472
Added $PS3 customization for 'modern' theme.
2010-12-14 18:36:44 -06:00
Mark Szymanski
668f8e68c0
Added PS2 to modern theme
2010-12-05 21:15:30 -06:00
Mark Szymanski
0a67e549cb
Added more colors to 'modern' theme
2010-12-05 16:03:33 -06:00
Mark Szymanski
e553638577
Added colors to 'modern' theme
2010-12-05 15:49:51 -06:00
Mark Szymanski
8a3d525460
Added modern theme
2010-12-05 15:40:46 -06:00
Mark Szymanski
4476156eb8
Added test to see if in vim's shell (via the :sh command)
2010-12-04 12:22:32 -06:00
Florian Baumann
92b8d6d9cf
added n0qorg theme
2010-11-24 16:22:05 +01:00
Florian Baumann
8c6197717a
fixed debian dirty prompt bug
2010-11-22 11:44:28 +01:00
Mark Szymanski
cb681121e4
Added custom PS3 (prompt used with "select", for instance with the new, newpost comman) for minimal theme
2010-11-17 17:09:16 -06:00
Robert R Evans
6c97585329
merge conflict
2010-11-10 15:49:21 -08:00
Robert R Evans
1148f42c5b
Updated bobby theme and merged in noqqe's additions
2010-11-10 15:45:48 -08:00
John Schulz
e7cfe6d1df
Lost the wrapping for non-printable characters
2010-11-09 23:52:25 -05: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
Florian Baumann
827578c79f
added dock-switch to osx plugin. switches between 3d and 2d
2010-11-04 18:19:50 +01:00
Florian Baumann
a1b611f7f3
added zitron theme
2010-11-01 13:42:54 +01:00
Robert R Evans
7aa791e2d6
Improved the wrapping of the bobby theme
2010-10-21 15:06:32 -07:00
Mark Szymanski
da4b526c59
Fixed bug where everything was bolded after failed command
2010-10-17 14:36:30 -05:00
Mark Szymanski
a792e400cc
Small tweak to minimal theme, made the red PS1 text bold.
2010-10-17 09:57:06 -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
Piotr Usewicz
df20afc275
Add history saving for prompt
2010-10-13 11:24:10 +01:00
Mark Szymanski
a3dcbefa5f
Added minimal theme
2010-10-12 17:34:00 -05:00
Piotr Usewicz
bdc9ddbdd6
Fix clearing the color
2010-10-11 14:25:31 +01:00
Piotr Usewicz
d76518de78
Added Pete theme
2010-10-11 14:01:32 +01:00
Sirupsen
b4257a46db
Added "sirup" theme.
2010-10-10 20:05:03 +02:00
Robert R Evans
d0d58f3763
rvm goodness
2010-10-09 21:47:45 -07:00
Robert R Evans
698509adb0
Added rvm prompt info
2010-10-09 21:46:28 -07:00
Robert R Evans
f1ead0535b
updated bobby theme
2010-10-09 16:28:16 -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
85d4172660
Merge branch 'master' of http://github.com/manalang/bash-it into manalang-master
2010-10-07 17:17:34 -07:00
Robert R Evans
b64c228da5
Updates
2010-10-07 17:15:14 -07:00
Rich Manalang
22d2581f19
added simple theme
2010-10-07 16:32:06 -07:00
Rich Manalang
63d5e7be5e
update the tab/window title with the pwd
2010-10-07 13:19:53 -07:00
Robert R Evans
7ca450440c
Fixed issue #2
2010-10-06 18:21:46 -07:00
Robert R Evans
eeaef1bada
Added standard theme from alsemyonov.
2010-10-06 17:28:34 -07:00
Robert R Evans
c9da086643
Removed custom.bash and am now completely ignoring all files within the custom directory. Started de-macify to provide more support for linux (thanks to alsemyonov on github).
2010-10-06 17:27:55 -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
Robert R Evans
1f923a90ad
Added more color support for git themeing
2010-10-03 09:41:36 -07:00
Robert R Evans
a4d0242dd0
Help files. Added the rest of bash it
2010-10-02 15:07:29 -07:00
Robert R Evans
a7d1ee0c02
Added help screens.
2010-10-02 15:04:24 -07:00
Robert R Evans
e0b3ef5f8f
Cleaner colors for reuse
2010-10-02 12:54:15 -07:00
Robert R Evans
2800e7eda1
more cleanup
2010-10-02 12:33:58 -07:00
Robert R Evans
c1d3117ad1
Better naming for base.bash colors
2010-10-02 12:31:01 -07:00
Robert R Evans
76ed68d18c
Cleaned bash it up
2010-10-02 12:29:17 -07:00
Robert R Evans
9c7cd9aa00
First Commit
2010-10-02 11:55:34 -07:00