1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-14 09:00:07 +00:00
Commit graph

223 commits

Author SHA1 Message Date
Sudarshan Wadkar
99429ab268 Add new pyenv segment to show active python version
This commit provides a new segment `pyenv` to show current python environment.
This prompt can be used in place of `virtualenv` segment. However, it is
targeted at users of [pyenv](https://github.com/yyuu/pyenv) and not meant to
replace the `virtualenv` segment.

The prompt works by parsing output of `pyenv version` and displaying the first
word of the output as segment text. The design (color etc.) is same as the
`virtualenv` segment including the icon. The segment would need to be
revisited if `pyenv version` changes its output format.

Tested on my personal machines (Mac OSX 10.11.4 and Ubuntu 15.04).
2016-06-03 15:50:37 -04:00
Ben Hilburn
92edb26a78 Making anaconda list item a link to full description. 2016-04-20 11:43:57 -04:00
Jan Laermann
391b3327ee Added anaconda segment.
The segment relies on a lookaround to determine the currently
active conda environment.
If available ack is preferred, otherwise grep will be used.
Recent versions of grep offer `-P` to support perl-regex.
Older ones (e.g. those shipped on OSX) will fail.
2016-04-19 21:49:57 +02:00
orhanbalci
0f7b525173 add rust icon information to README 2016-04-19 22:07:29 +03:00
Ben Hilburn
aec9d95295 Merge pull request #229 from alexlafroscia/add-package-name-shortening-strategy
Add shortening strategy based on package.json name
2016-04-11 15:16:37 -04:00
Alex LaFroscia
4ca6938801 Apply max dir length to package name shortener 2016-03-22 13:14:10 -04:00
sabricot
8feee5d4cc Fix typo about docker in README 2016-03-06 18:32:07 +01:00
sabricot
3c95feb0bd Add a docker machine segment 2016-03-06 18:25:17 +01:00
Ben Hilburn
d0e9baf453 readme: more touchup to the segment list 2016-03-05 16:09:46 -05:00
Ben Hilburn
8e499946b2 readme: add horizontal bar 2016-03-05 16:08:14 -05:00
Ben Hilburn
b305b1ccd2 readme: code-as-links transition in segment list 2016-03-05 16:07:03 -05:00
Ben Hilburn
4e28720021 readme: testing code-as-link in MD code 2016-03-05 16:02:51 -05:00
Ben Hilburn
c30a13e467 readme: re-organizing the segment list 2016-03-05 15:48:44 -05:00
Sudarshan Wadkar
88fd11a865 Update README.md with chruby prompt info 2016-03-04 16:02:01 -05:00
Ben Hilburn
d6902db6ef Merge branch 'master' into next. Fixes Symfony typo in README. 2016-03-03 05:20:12 -08:00
Benoit GALATI
ded682420b Fix typo about Symfony2 in README 2016-03-02 17:14:34 +01:00
Ben Hilburn
5d31763a8e Merge pull request #219 from rmad17/nodeenv-support
Adding `nodeenv` segment.
2016-02-26 09:37:34 -05:00
rmad17
163ac2697c Updated README 2016-02-26 19:43:44 +05:30
Ben Hilburn
e93d053035 Merge pull request #216 from natemccurdy/issues/215
Improve the rbenv prompt by using `version-name`
2016-02-20 15:28:44 -08:00
Nate McCurdy
01bdee42a2 Improve the rbenv prompt by using version-name
Prior to this, the rbenv prompt only showed something if the
$RBENV_VERSION environment variable was set. This was not a complete
solution because rbenv can be configured locally, per directory, with
dotfiles. When using dotfiles, the $RBENV_VERSION variables is not set.

This fixes the issue by taking the output of the `rbenv version-name`
command which shows the real rbenv version being used based on any of
the 4 ways to change rbenv as shown here:

https://github.com/rbenv/rbenv#choosing-the-ruby-version

If the current version of Ruby being used is the same as the global
Ruby, nothing is shown.

This commit also adds documentation to the README that describes the
prompt.

Fixes issue #215
2016-02-19 14:56:09 -08:00
Ben Hilburn
94c87a4d23 Reflect submodule status in VCS prompty by default. 2016-02-17 17:09:54 -08:00
Ben Hilburn
5af484bd6d README: Adding Travis-CI status to README 2016-02-17 15:51:17 -08:00
Ben Hilburn
4897c795fa Merge branch 'master' into next 2016-02-05 10:57:56 -08:00
The Gitter Badger
43e6c80029 Add Gitter badge 2016-02-05 15:43:36 +00:00
Dominik Ritter
a6174e31ea Added documentation for the AWS Beanstalk segment. 2016-01-23 01:34:48 +01:00
Dominik Ritter
6aadf76397 Split up ram segment into ram and swap. 2016-01-23 01:27:05 +01:00
Ben Hilburn
472fb6f674 README: Arrghhhhh. Newlines in tables breaking things. 2016-01-22 16:12:20 -08:00
Ben Hilburn
bd88fe9637 README: Documenting new background_jobs feature 2016-01-22 16:11:41 -08:00
Ben Hilburn
f58da93481 README: Updating language about ZSH frameworks 2016-01-22 16:06:08 -08:00
Anthony
684291e734 Fix spacing derp 2016-01-21 21:33:56 +00:00
Kayant
193e19f597 Add more ZSH framework instructions
*Zgen
*Antibody
*ZPM
*ZIM
2016-01-20 13:58:30 +00:00
Kayant
0b1849d034 Improve zsh framework install description and add zplug 2016-01-17 19:18:43 +00:00
Ben Hilburn
67895cc5da README: Added a tl;dr 2016-01-17 10:04:27 -08:00
Ben Hilburn
dc4871f1a0 README: Minor cleanups 2016-01-16 20:02:10 -08:00
Ben Hilburn
02cb0fd88f README: Turns out you can't linebreak in tables. 2016-01-16 19:59:39 -08:00
Ben Hilburn
8a3c16ae24 README: Trying out tables to describe variables. 2016-01-16 19:56:27 -08:00
Dominik Ritter
701053aa73 Improved dir icon descriptions. 2016-01-17 01:01:39 +01:00
Kayant
cf921fb90c Add sub folder icon when in home subdirectories
Big thanks to @dritter for guidance, @rjorgenson for great explanation.
And @bhilburn for further guidance and encouragement.
See http://i.imgur.com/2Vncypo.png for a presentation of how it looks.
2016-01-16 01:08:52 +00:00
Dominik Ritter
c8ce226498 Clearer explanation for the home and folder icons. 2016-01-07 22:49:18 +01:00
Dominik Ritter
1ec2919ff5 Added an explanation for the "home" and "folder" icons. 2016-01-06 19:16:42 +01:00
Ben Hilburn
bb7fca653b README: Cleaning some things up. 2016-01-05 15:18:46 -08:00
Niklas Heer
e7e11d5ec8 fixed documentation 2016-01-04 19:26:25 +01:00
Niklas Heer
a7bedd5320 added documentation 2016-01-04 19:00:02 +01:00
Dominik Ritter
2a519ee2d7 Merge branch 'status_color_fix' into battery_visual_identifier 2015-12-18 00:59:04 +01:00
Dominik Ritter
f73de77c2e Typo. 2015-12-17 10:40:15 +01:00
Dominik Ritter
bd5955221e Removed trailing whitespace. 2015-12-16 22:23:47 +01:00
Dominik Ritter
5a4de1d274 Split up the status segment into a background_jobs, root_indicator and status segment.
This fixes #163
2015-12-13 12:43:40 +01:00
Matthías Páll Gissurarson
df51db1412 added a segment to be able to display the result of a custom command. 2015-11-21 23:11:34 +01:00
Dominik Ritter
37113bc120 Added documentation. 2015-11-15 23:53:10 +01:00
Ben Hilburn
84681d4cc1 Merge pull request #126 from rjorgenson/next
added a prompt segment to display battery status on laptops
2015-10-21 16:53:32 -07:00