Viktor (Icon) VAD
45d3480fbd
Merge branch 'master' into vadviktor-elixir-support
2017-01-13 22:25:52 +00:00
Dawid Kurek
7a9d4d168f
close #186 : Remove redundant *_SHOW* variables
2017-01-05 21:44:39 +01:00
neyb
739a787b9d
rename prompt_char to prompt_chars
2016-12-12 20:19:46 +01:00
neyb
d39d8c7990
fix #182 prompt-char is responsible of adding space
2016-12-10 14:56:52 +01:00
Viktor (Icon) VAD
2bc4979b67
typo of colour
2016-12-04 11:50:11 +00:00
Viktor (Icon) VAD
c22f6e03af
Adding basic Elixir prompt support
2016-12-04 10:30:22 +00:00
Dawid Kurek
a70fadd455
Merge pull request #146 from JayXon/patch-2
...
Support for advanced usage in custom message
2016-10-29 08:32:40 +02:00
Iulian Onofrei
7895667f94
Update bullet-train.zsh-theme ( #173 )
...
Include the third argument for the promp_segment function in the documentation
2016-10-26 10:22:59 -04:00
Sen Jiang
47a5753381
Support for advanced usage in custom message
...
For example
export BULLETTRAIN_CUSTOM_MSG=\$SOME_ENV_I_WANT_TO_SHOW
export BULLETTRAIN_CUSTOM_MSG=\`some command I want to run\`
2016-05-12 19:09:37 -07:00
Yongqian Li
2ef9e99d42
Display exec time as something like 2d3h31m5s instead of 185465s
2016-05-06 10:58:50 -07:00
Caio Gondim
8fb4709cbf
Prepend leaking global variable with BULLETTRAIN_
...
We should avoid as much as possible to use globals.
If not possible, let's at least prepend it with the `BULLETTRAIN_`
namespace to be explicit that this variable belongs to this project.
2016-05-06 11:21:08 +02:00
Sen Jiang
731c4814a7
Fix #108
2016-05-04 18:18:28 -07:00
Lyncredible
e3924f173c
Fix for parse error - Issue #134
...
Conditional operator [[ ]] tests files and strings. To test error codes
returned from command, use if statement directly without any operators.
2016-04-27 11:04:34 -07:00
Michael Robinson
5ca3596f58
Use node to get version information if nvm is not present
...
Fixes #132
2016-04-20 11:35:11 +02:00
Caio Gondim
e586556233
Merge pull request #116 from LACabeza/master
...
Allow change the context hostname to display the fqdn.
2016-04-09 17:21:56 +02:00
Caio Gondim
c755721fd7
Merge pull request #93 from vadviktor/vadviktor-patch-rbenv-gemsets
...
Adding gemsets display to Rbenv
2016-04-09 17:14:54 +02:00
Dawid Kurek
50f1836ba1
close #115 : Allow to specify custom prompt order
2016-03-21 22:01:01 +01:00
Jiri Tyr
4b8f36d672
Removing unnecessary space in from of Git prompt
2016-03-20 01:37:44 +00:00
Jiri Tyr
ce5d5fb78e
Eliminating double space if prompt on one line
2016-03-18 17:59:57 +00:00
Caio Gondim
9232d2da85
Merge pull request #113 from CodeBleu/master
...
Add ability to change FG & BG to GIT_COLORIZE_DIRTY
2016-02-17 23:16:20 +01:00
Dale Davis
a9fe003c1b
Added plenv (PERL) segment
...
* Added BULLETTRAIN_PERL_ shell variable checks to bullet-train.zsh-theme
* Added prompt_perl function
2016-02-17 12:55:42 -08:00
alysson
5d0b028b7b
Allow change the context hostname to display the fqdn.
2016-02-16 15:51:58 -02:00
Jason Hollis
883a8b75bf
added ability to change FG & BG to GIT_COLORIZE_DIRTY and added color to GIT_PROMPT_DIRTY & CLEAN
2016-01-29 11:59:45 -05:00
Dawid Kurek
d3f4997582
Allow settings custom git prompt
...
This gives us ability to use string substitution for changing e.g. how
branch name is displayed.
2016-01-26 21:11:12 +01:00
Caio Gondim
4fc095d48d
Add BG and FG variables for TIME_EXEC segment customisation
2016-01-05 22:59:10 +01:00
Heng-Yi Wu
3ccb07e6ad
Add command execution time segment
2016-01-04 12:58:38 +08:00
Caio Gondim
a327f67f96
Add custom segment
2015-12-10 17:50:25 +01:00
KVoll
91e37588a6
Fixes #102
2015-12-03 15:29:04 -06:00
Caio Gondim
420db084ef
Add BULLETTRAIN_GIT_COLORIZE_DIRTY_COLOR to customize Git BG when in dirty mode
2015-11-30 15:24:37 +01:00
timfeirg
a00dbb2962
add BULLETTRAIN_GIT_COLORIZE_DIRTY to show yellow BG when git repo is dirty
...
this feature is borrowed from agnoster
https://gist.github.com/agnoster/3712874#file-agnoster-zsh-theme-L82
2015-11-30 08:54:49 +08:00
Caio Gondim
d438f5d479
Merge pull request #99 from chuckus/multiple-python
...
Allow multiple versions of Python to be displayed on one line
2015-11-25 11:46:44 +01:00
Charlie Smith
080b85cca5
Remove trailing whitespace for Python version label
2015-11-25 10:54:26 +13:00
Charlie Smith
faf4f81876
Allow multiple versions of Python to be displayed on one line
2015-11-25 10:48:58 +13:00
Caio Gondim
7ab1e597f2
Merge pull request #98 from kamui/fix-chruby
...
Fix chruby support by only printing the line of the matched ruby
2015-11-24 11:29:12 +01:00
Jack Chu
9a9a607a0c
Fix chruby support by only printing the line of the matched ruby
2015-11-22 23:44:33 -05:00
Mertcan Mermerkaya
4271bc6c5e
Use "nvm current" to display node version
...
This way the user can differentiate between system and nvm node versions, similar to the virtualenv segment.
2015-11-21 19:20:50 +02:00
Viktor (Icon) VAD
bade13dfd3
fix test condition
2015-11-16 14:10:05 +00:00
Viktor (Icon) VAD
5cbe050452
adding env switch to turn hg on/off
2015-11-12 10:40:22 +00:00
Viktor (Icon) VAD
73325d22f1
Rbenv gemsets
2015-11-09 12:02:31 +00:00
Caio Gondim
765b735de4
Merge pull request #88 from dbkaplun/prompt-cleanup
...
DRY $PROMPT
2015-11-07 14:05:52 +01:00
Maxime Bruguet
4e6b4e9b3f
Update $BULLETTRAIN_TIME_12HR
...
change the "%X" in prompt_time() to "%T", because %X is based on local time so even if $BULLETTRAIN_TIME_12HR is false, the time would be in 12hr format because of the local.
The %T forces it in 24hr format whatever your zone is.
2015-10-29 14:56:43 +01:00
Dan Kaplun
fee3d173c6
DRY $PROMPT
2015-10-26 16:43:42 -04:00
Dan Kaplun
a0af64ea34
Move dev environment-specific segments after path
2015-10-16 15:46:34 -04:00
Caio Gondim
d790578181
Merge branch 'gregf-fix_whitespace'
...
* gregf-fix_whitespace:
Add new BULLETTRAIN_PROMPT_ADD_NEWLINE as a option
Stop printing a blank line before every prompt
2015-10-14 23:38:41 +02:00
Caio Gondim
79d1cf73ed
Merge branch 'vadviktor-vadviktor-patch-pyenv'
...
* vadviktor-vadviktor-patch-pyenv:
Merge remote-tracking branch 'origin/master' into vadviktor-patch-pyenv
Adding Pyenv support to Python virtualenv as "fallback"
2015-10-12 23:57:16 +02:00
Manuel Hoffmann
268ce32d69
I took a look at this answer http://unix.stackexchange.com/a/90876
...
and thus added the %{%}-delimiters around the `prompt_line_sep` whitespace.
Works for me and fixes #80
2015-10-04 17:24:47 +02:00
Caio Gondim
ccadea1dd4
Fix bug on getting version number on go segment
...
It is common for users to have grep aliased to `grep --colour='always`.
This fix sets grep on getting the go version to `never`.
2015-09-30 00:22:05 +02:00
Caio Gondim
e79f9ff10c
Changes go segment prefix
2015-09-30 00:21:44 +02:00
Greg Fitzgerald
dc152b5471
Add detection for glide.yaml
2015-09-29 23:46:56 +02:00
Greg Fitzgerald
4a07c82824
Fix a couple issues with the go prompt
2015-09-29 23:46:56 +02:00