Commit Graph

41 Commits

Author SHA1 Message Date
Hannes Frank
b9f4fe7e83 Fixed highlighting tab completion without zsh-syntax-highlighting
When pressing tab on an incomplete command like 'l' or 'c' the commandline
turns and stays green so even the output is colored green or the
highlight of the suggestions swaps colors when tabbing through.
This happens only if the zsh-syntax-highlighting plugin is not enabled.
I fixed this by adding the missing %f in prompt_char().
2015-02-05 10:04:50 +01:00
Dan Kaplun
3d2bd96f09 Optionally shows context with dir 2015-01-08 17:15:50 -06:00
Dan Kaplun
46eb96338e Fixes root coloring to not affect other symbols within the status 2015-01-07 16:55:53 -06:00
Dan Kaplun
43dd0ae366 Sets status fg to white by default 2015-01-07 03:25:56 -06:00
Caio Gondim
55123388b6 Hides NVM segment by default 2015-01-06 07:28:45 +01:00
Caio Gondim
bcf6bc842c Renames BULLETTRAIN_STATUS_EXIT_SHOW to BULLETTRAIN_STATUS_EXIT_SHOW 2015-01-06 07:24:56 +01:00
Caio Gondim
2d250c2099 Improves context segment code 2015-01-06 07:20:26 +01:00
Caio Gondim
a63c147ecf Puts status segment after time 2015-01-05 23:50:55 +01:00
Caio Gondim
b2ca161cbb Merge branch 'secrettriangle-fix-context'
* secrettriangle-fix-context:
  Fixes prompt_context
2015-01-05 22:39:44 +01:00
Dan Kaplun
7afb9de1c0 Fixes prompt_context 2015-01-05 05:38:23 -06:00
Dan Kaplun
165863074d Removes standout logic (no longer used) 2015-01-05 05:26:23 -06:00
Dan Kaplun
a12871f0ec Fixes prompt_status 2015-01-05 05:24:35 -06:00
Caio Gondim
3dfcc0f896 Fix git conf variables
Closes #20
2014-12-26 05:02:33 +01:00
Caio Gondim
cb8f7065ef Configuration vars will respect user values if setted
Fix #19
2014-12-01 17:57:58 +01:00
Caio Gondim
275f319803 Fix on default value of BULLETTRAIN_NVM_SHOW
Will have to do the same with all the variables.

Fix #18
2014-11-30 23:06:36 +01:00
Jocelyn Mallon
cc82e91f8d Fix bug/typo in time segment
Fix to ensure that we check the state of both 'BULLETTRAIN_TIME_BG' and 'BULLETTRAIN_TIME_FG', instead of checking just the BG twice.
2014-07-18 19:48:38 -07:00
Caio Gondim
c09b8827a5 Removes trailling whitespaces 2014-07-18 12:03:22 +02:00
Caio Gondim
8355f03e4a Updates README 2014-07-18 11:58:04 +02:00
Jocelyn Mallon
7bf3ab74dc Merge commit '6f7561eeb1fcff3c0f097744bb3840229606cbbb'
* commit '6f7561eeb1fcff3c0f097744bb3840229606cbbb':
  Add user prompt character options
2014-07-17 08:59:04 -07:00
Caio Gondim
2dc8a04c51 Updates README with new options 2014-07-17 17:21:55 +02:00
Caio Gondim
0ef6ef9016 Fix indentation 2014-07-17 17:12:35 +02:00
Jocelyn Mallon
6f7561eeb1 Add user prompt character options
Add two new user options for changing the final prompt character (default '$')
1) 'BULLETTRAIN_PROMPT_ROOT' - allow the user to choose if they want the final prompt character to change to '#' for root user.
2) 'BULLETTRAIN_PROMPT_CHAR' - allow the user to choose their own final prompt character (instead of '$') as long as it's length is a single character

This also changes the color of the prompt character, red for root, green for normal user, and could be expanded in the future for user selectable color choices.
2014-07-16 10:29:14 -07:00
Jocelyn Mallon
56f75cbda8 Add an option to show extended exit code/status information.
Add a user selectable option 'BULLETTRAIN_EXIT_SHOW' to show the actual exit status code ($RETVAL) along with the graphical indicator.
2014-07-15 16:24:41 -07:00
Jocelyn Mallon
fe0b1bea20 Add an option to show extended directory/path information.
Add a user selectable option 'BULLETTRAIN_DIR_EXTENDED' to show extended directory/path information. Currently this is fixed at truncating the path shown at 3 folders deep, but could be modified to support user selectable nesting/truncation.
2014-07-15 16:22:28 -07:00
Jocelyn Mallon
4c13e6b718 Add option to show extended git status information.
Add an option 'BULLETTRAIN_GIT_STATUS' to allow user to show extended git repo status; e.g. added, modified, deleted files instead of just clean/dirty.
2014-07-15 16:16:12 -07:00
Jocelyn Mallon
5296d6c29e Update command substitution notation
Just a quick update to replace all instances of the older `` command substitution, to newer $() notation.
2014-07-15 15:36:02 -07:00
Caio Gondim
01dfbf87fe Adds options to hide segments
[Closes #5]
2014-07-14 23:15:48 +02:00
Caio Gondim
d85b0f1260 Changes BULLETTRAIN_RVM_SYMBOL to BULLETTRAIN_RVM_PREFIX 2014-07-12 20:53:59 +02:00
Caio Gondim
b2dcf6992e Adds Node.js options to README 2014-07-12 20:52:34 +02:00
Caio Gondim
039cf5e180 Rename BULLETTRAIN_VIRTUALENV_SYMBOL to BULLETTRAIN_VIRTUALENV_PREFIX 2014-07-12 20:50:38 +02:00
Caio Gondim
152e446e1c Changes the time segment color to gray 2014-07-12 20:33:51 +02:00
Caio Gondim
6ef64892eb Adds NVM support
[Closes #3]
2014-07-12 19:35:24 +02:00
Caio Gondim
cccdb11bcd Comments code 2014-07-10 16:21:51 +02:00
Caio Gondim
97ca2d0533 Adds options for all colors and symbols 2014-07-10 16:09:41 +02:00
Caio Gondim
c5c7dc082d Shows RVM info only when a gemset that is not the default one 2014-07-09 21:53:13 +02:00
Caio Gondim
7bb34de0fb Adds rvm support
[Closes #2]
2014-07-09 21:30:45 +02:00
Caio Gondim
841dacb890 Adds virtualenv support
[Closes #1]
2014-07-08 15:38:27 +02:00
Caio Gondim
bd88ade263 Uses agnoster as base 2014-07-06 22:24:14 +02:00
Caio Gondim
10a013bda0 Starts prompt in new line 2014-07-06 01:54:42 +02:00
Caio Gondim
86a3526b71 Adds timestamp to the left side 2014-07-05 23:40:26 +02:00
Caio Gondim
91453eb75b Renames the project to "Bullet Train" 2014-07-03 00:08:15 +02:00