Commit Graph

141 Commits

Author SHA1 Message Date
Bruce Edge 451708d91f Make python env show only when not the default. (#288)
Fixed open comment from https://github.com/caiogondim/bullet-train.zsh/pull/224/commits/cc57e991d95c5c464a2a8cfc6074e908e961ccd2?utf8=%E2%9C%93&diff=unified&w=1
2019-09-13 10:02:51 -04:00
Caio Cezar Zapater de Souza 6a7b1ab36f Use kubectl to get k8s context and namespace (#312)
Add a way to get the current kubernetes context and default namespace in use using `kubectl`
2019-09-12 11:11:36 -04:00
Tim Zhang cb68586c0e Update Go version segment (#280)
Go has bumped its version to 1.10 months ago. The `grep` code in script can only get one digit of minor version, showing `1.1` for version 1.10.
2018-06-01 12:37:27 -04:00
Dan Kaplun 06f1d86ae2 Add rust prompt (#261)
Closes #258
2018-02-05 18:39:21 -05:00
Michael e9e1e9f363 Add Kubernetes Context (#257) 2018-01-02 14:43:07 -05:00
Ricardo Pérez f93a0710a4 Add space only if non-empty BULLETTRAIN_PROMPT_CHAR (#256) 2017-12-20 12:51:06 -10:00
Viktor (Icon) VAD e564ca0888 Merge pull request #227 from KuhlTime/master
Add GNU Screen bullet
2017-10-10 15:38:40 +01:00
André Kuhlmann 42b5dd706b Change prefix icon 2017-09-10 12:40:01 +02:00
Lyncredible 598f0d956d Do not show nvm/node prompt if neither is installed 2017-07-26 20:45:20 -07:00
André Kuhlmann a7293ebcdd Add screen prompt
Add a new bullet showing the current screen session.

GNU Screen is a easy to use window manager.
For more information visit: http://www.gnu.org/software/screen/
2017-06-26 01:17:47 +02:00
Viktor (Icon) VAD 7d5c8b80b8 Merge pull request #199 from ThamosIO/feat/aws-profile-in-prompt
feat(aws-plugin): added aws profile in prompt
2017-04-26 11:58:03 +01:00
Thomas Raimond 70aa6f1f72 refacto(awsprofile): useless var removed 2017-04-26 12:17:42 +02:00
Thomas Raimond 761cd01d37 fix(awsprofile): spaces in prefix 2017-04-19 17:19:46 +02:00
Viktor (Icon) VAD af13da3610 Reverting PR #204 2017-03-22 15:51:32 +00:00
Viktor (Icon) VAD 542b0f6504 Merge pull request #204 from jtyr/master
Bringing back the final prompt chars space
2017-03-22 07:54:19 +00:00
Viktor (Icon) VAD 7085598d61 Merge pull request #181 from vadviktor/vadviktor-elixir-support
Let's add some (basic) Elixir support
2017-03-21 18:06:54 +00:00
Lyncredible d0afdcc589 Remove extra space in go prompt: "go 1.7" instead of "go 1.7" (#198) 2017-03-17 21:15:07 -04:00
Anton Grensjö 09b5d897a0 Hide git prompt completely if git config flag "oh-my-zsh.hide-status" is set (#184)
* Hide git prompt if git config flag "oh-my-zsh.hide-status" is set

* Add documentation about the `oh-my-zsh.hide-status` git config flag
2017-03-08 19:10:41 -05:00
Thomas Raimond 6ec2a1c619 fix(awsprofile): removing deprecated _SHOW var 2017-03-01 17:34:22 +01:00
Yves Hoppe 246aa809a9 Add space after the prompt (\$) (#206)
Since the latest version after the $ / # a space is missing
2017-02-23 09:26:58 -03:00
Jiri Tyr 575e06be24 Bringing back the final prompt chars space
In the PR #162, the final space after the prompt chars was removed. This PR is bringing it back.
2017-02-16 16:42:24 +00:00
Jack Halford 4ba8485131 prompt_char can now be any length (#162)
* prompt_char can now be any length

* Update bullet-train.zsh-theme

* added 's' to variable name to resolve conflict.

* Update bullet-train.zsh-theme

merged definition and assignment of bt_prompt_char into single line.
2017-01-31 11:24:39 -02:00
Thomas Raimond f707299b1a feat(aws-plugin): added aws profile in prompt 2017-01-27 12:15:23 +01:00
Viktor (Icon) VAD c6692a9bcd removing deprecated "show" config 2017-01-15 08:23:32 +00:00
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