Commit graph

407 commits

Author SHA1 Message Date
Ben Hilburn
5923aaf07d README: Slight change to new truncation strategy doc 2017-08-12 13:49:14 -04:00
Ben Hilburn
d784b1c8dc Cleaning up the dir docs in README 2017-08-12 13:15:29 -04:00
Miroslav Šedivý
73a9ee7c87 add TRUNCATE_TO_UNIQUE shortening dir strategy
This creates the shortest unique path elements that can be unambiguously expanded to the original path.
2017-08-11 22:44:18 +02:00
Richard Tippl
cefe984e3d Documented DIR_SHOW_WRITABLE in README.md 2017-08-10 19:08:33 +02:00
Ben Hilburn
41b469ed9b Quick fix to next exit code doc in README 2017-08-03 15:52:28 -04:00
Christian Höltje
f93ad073b7 status: show signal name
This makes signal exit status easy to understand.  Instead of just
showing exit code "137", you now see "KILL(-9)".

Based on #580 by @sei40kr (thanks!)
2017-07-27 22:36:11 -04:00
AdrienHorgnies
faa5ec9645 document status segment new option set 2017-07-15 21:29:10 +02:00
Ben Hilburn
3c3a86a42f Fixes for README and CHANGELOG re: vpn segment. 2017-06-02 12:15:38 -04:00
Ben Hilburn
e09d4ae926 Merge branch 'next' into next 2017-06-02 12:09:35 -04:00
Ben Hilburn
d6a14a9a01 Updating README and CHANGELOG 2017-06-02 11:59:30 -04:00
David Sabatie
5eec2e28d0 add vpn ip to prompt 2017-05-31 17:32:42 +02:00
Ben Hilburn
19fc709a16 Moving some parts of README to the Wiki. 2017-05-25 16:00:44 -04:00
Ben Hilburn
d9014c67a3 Merge branch 'host_user' of https://github.com/onaforeignshore/powerlevel9k into onaforeignshore-host_user 2017-05-25 15:47:51 -04:00
Christo Kotze
de6a9388e9 updated to fix copy/paste 2017-05-23 19:16:46 +04:00
Ben Hilburn
44764285c3 Merge branch 'host_user' of https://github.com/onaforeignshore/powerlevel9k into onaforeignshore-host_user 2017-05-22 21:46:17 -04:00
Ben Hilburn
325e01b9f2 Updating the README to add a note about teardown feature. 2017-05-22 21:23:52 -04:00
Ben Hilburn
e844fc4c72 Incorporating @dritter's feedback from #524. 2017-05-22 21:12:59 -04:00
Ben Hilburn
6486e62f14 Merge branch 'pr/newline' of https://github.com/docwhat/powerlevel9k into docwhat-pr/newline 2017-05-22 21:07:23 -04:00
Christian Höltje
161c995625 newline: can't work with right side 2017-05-12 22:14:01 -04:00
Christian Höltje
1619c74ad8 newline: add new segment 2017-05-12 22:14:01 -04:00
Christian Höltje
25a6c3a4a8 pipestatus: default to true (on) 2017-05-12 22:13:37 -04:00
Christian Höltje
543bd2f844 status: add option for support pipes
Added new option (POWERLEVEL9K_STATUS_SHOW_PIPESTATUS) that shows
the status for all piped commands, not just the right-most.

Closes #514
2017-05-12 21:51:36 -04:00
Ben Hilburn
0b2483cf6d Merge branch 'master' into next 2017-05-09 21:57:46 -04:00
Christian Höltje
ab8d6ae299 readme: typo 2017-05-04 02:47:55 -04:00
Ben Hilburn
cae2a7927d Updates to README and CHANGELOG for changes from #498. 2017-05-01 21:37:12 -04:00
Ben Hilburn
98a00d31a8 Merge branch 'battery' of https://github.com/onaforeignshore/powerlevel9k into onaforeignshore-battery 2017-05-01 21:28:22 -04:00
Christo Kotze
61790bf242 Revised User segment in README.md 2017-04-27 22:19:17 +04:00
Christo Kotze
59e64c9051 host and user segments 2017-04-21 00:06:28 +04:00
Julien Falque
708705599d
Make home abbreviation configurable for dir prompt 2017-04-04 08:17:18 +02:00
Ben Hilburn
5a1d9ddb64 Updating README to use @V1rgul's screenshot.
Per #370
2017-04-03 20:18:16 -04:00
Ben Hilburn
fa21d8fbc9 Fixing Link to Step 2 of Installation Guide 2017-03-20 23:10:41 -04:00
Ben Hilburn
3cba67626d Merge branch 'master' into next 2017-03-20 22:36:45 -04:00
Oleksii Vilchanskyi
92dbf82027 README: context section typo fix (#447)
* Remove a duplicate in the table
* Use word "set" to emphasize $USER as a shell variable

Closes #447.
2017-03-19 17:26:14 +01:00
Ben Hilburn
622c04eee3 Merge branch 'next' into truncate_composer_json 2017-03-08 15:01:53 -05:00
Ben Hilburn
136a5217e3 readme: adding note about jq installation 2017-03-08 14:57:24 -05:00
Dominik Ritter
ec044c028a Add functionality to truncate via composer.json 2017-02-24 01:24:16 +01:00
Felicia Hummel
554f8ed8ee Added support for customizable context segment 2017-02-18 22:25:33 -05:00
Ben Hilburn
c2cbb32017 README: cleaning up new command_execution_time segment docs 2017-02-18 21:59:39 -05:00
Dominik Ritter
4c91c5e02e Add documentation for the command_execution_time segment 2017-02-16 21:11:31 +01:00
Dominik Ritter
875dec5dae Merge branch 'next' into execution_time 2017-02-14 21:42:41 +01:00
Ben Hilburn
04284abe14 README: updating to reflect new context segment features 2017-02-14 09:00:12 -05:00
Ben Hilburn
3de352b296 Adding ssh segment back with some minor changes. 2017-02-13 22:07:23 -05:00
Ben Hilburn
f68e055f3b Merging the ssh detection into context segment, resolving conflicts. 2017-02-13 21:50:37 -05:00
Ben Hilburn
5957aef79a Merge branch 'next' into shibumi-next 2017-02-13 21:07:10 -05:00
Ben Hilburn
36d74f34c2 Merge branch 'next' into dir_first_character 2017-02-13 20:21:33 -05:00
Dominik Ritter
eb18bcaaae Add documentation for command_execution_time segment 2017-02-13 23:41:51 +01:00
Dominik Ritter
610fd4fbfd Merge branch 'next' into benoits_dir_segment 2017-02-12 18:59:21 +01:00
Ben Hilburn
1de14df11f Merge pull request #395 from dritter/benoits_dir_writable_segment
Benoits dir writable segment
2017-02-11 10:22:49 -05:00
Christian Rebischke
7e25fa1e93
Added additional ssh identifier for the right statusbar. 2017-02-10 17:12:05 +01:00
Christian Rebischke
15cbe8dbc9
[SSH]: resolved merge conflict and merged with current next 2017-02-10 16:53:49 +01:00
Dominik Ritter
ed9d18f1de Add documentation for dir truncation strategies 2017-02-02 00:38:22 +01:00
Dominik Ritter
052eba9c74 Rename dir_permissions segment to dir_writable
Additionally:
- Add changelog entry
- Add documentation
2017-01-31 23:57:59 +01:00
Dominik Ritter
b379f03f14 Add ability to omit the first character in dir path 2017-01-30 21:10:09 +01:00
Dominik Ritter
bfbfd5c10c Fix README entry for renamed variable POWERLEVEL9K_PUBLIC_IP_METHODS 2017-01-28 13:29:08 +01:00
Ben Hilburn
eb67fb5c0c README: fixing name of detect-virt to detect_virt 2017-01-22 13:22:33 -05:00
Ben Hilburn
1a2439926f README: default segment list was no longer accurate 2017-01-22 13:13:11 -05:00
Ben Hilburn
7bd2585371 incorportaing feedback from review on hdd_usage segment 2017-01-21 21:34:55 -05:00
Ben Hilburn
64afe83cbd Updating the readme wih hdd_usage details. 2017-01-20 22:24:03 -05:00
Ben Hilburn
126b991b94 Merge branch 'master' into next 2017-01-20 21:01:16 -05:00
Ben Hilburn
5f41b5e17e Minor fix-up to the README. 2017-01-09 17:40:29 -05:00
Ben Hilburn
2891a2f340 Adding license note about the new logo. 2017-01-09 17:39:26 -05:00
rjorgenson
6321dd99c5 more typos 2017-01-09 15:30:15 -07:00
Ben Hilburn
57be8cb18a Adding the new logo to the README! 2017-01-09 17:26:43 -05:00
rjorgenson
2cb1f84ce7 fixed typo 2017-01-09 15:24:50 -07:00
rjorgenson
f5b544f4c8 added link to segemnt documenation in README 2017-01-09 15:06:14 -07:00
rjorgenson
6e1e4ac241 added README section for public_ip segment 2017-01-09 14:53:28 -07:00
rjorgenson
37145ef14d added documentation for custom host depth to README 2016-12-30 20:13:55 -07:00
Ben Hilburn
52d95f9038 Merge pull request #362 from shibumi/detect-virt-next
Added segment for virtualization detection.
2016-12-20 17:51:02 -05:00
Christian Rebischke
c42a77ae60
Merge branch 'detect-virt' into detect-virt-next 2016-12-20 19:48:16 +01:00
Christian Rebischke
30076080a7
added ssh support and POWERLEVEL9K_HIDE_HOST feature
refactorized the sourcecode

added true/false switch
2016-12-18 21:08:43 +01:00
Christian Rebischke
881ce33263
added virtualization detection with systemd 2016-12-17 18:51:03 +01:00
Ben Hilburn
7a49c9704d Merge pull request #347 from thomaspaulmann/swift
Add prompt for current installed swift version
2016-12-05 18:32:55 -05:00
Thomas Paul Mann
21a5cbd988 Add prompt for current installed swift version 2016-12-01 21:21:05 +01:00
Dominik Ritter
11b8545fe2 Add syntax highlighting to examples in README 2016-11-29 23:27:00 +01:00
Dominik Ritter
51e1aa1b16 Add documenatation for dir path separator 2016-11-29 23:19:35 +01:00
Arav Singhal
b129cd09e0 Describe OK in non-verbose toggle in README 2016-10-27 12:11:33 +05:30
Lion Krischer
9bc55ab175
Using default way of setting icons and updating doc 2016-08-31 00:31:33 +02:00
Lion Krischer
50b978ddc8
Using default color setters 2016-08-31 00:21:01 +02:00
Lion Krischer
fb211bc04c
Document all the conda prompt changes 2016-08-31 00:08:01 +02:00
Ben Hilburn
9d172f58c2 Finally adding a license to powerlevel9k 2016-07-12 21:07:51 -04:00
Ben Hilburn
96731951be Merge branch 'noverbose-battery' of https://github.com/dnmiller/powerlevel9k into nonverbose-battery 2016-07-12 20:44:30 -04:00
Ben Hilburn
3291b4d476 Merging ability to hide tags from VCS segment. 2016-07-12 20:28:01 -04:00
Chris Hudson
ef2d01a2aa Added POWERLEVEL9K_VCS_HIDE_TAGS variable to control displaying of vcs tags in segment 2016-07-07 22:40:26 +01:00
Dan Miller
d39e57f4d7 Update README with POWERLEVEL9K_BATTERY_VERBOSE option 2016-06-16 22:35:53 -07:00
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
Ben Hilburn
981c85af39 Merge pull request #127 from dritter/go_prompt
Adding Go version segment.
2015-10-21 16:51:44 -07:00
Dominik Ritter
09bd1f6182 Added documentation. 2015-10-20 00:37:17 +02:00
Dominik Ritter
e94394bc67 Merge branch 'next' into go_prompt 2015-10-19 17:39:43 +02:00
rjorgenson
ff3f6b8e83 added time remaining support to battery segment on Linux 2015-10-18 19:48:45 -07:00
rjorgenson
3b2971b344 erroneous whitespace commit undone 2015-10-18 16:32:20 -07:00
rjorgenson
fb6738967e added Linux support to battery prompt segment 2015-10-18 16:30:16 -07:00
rjorgenson
acf5e97756 added battery prompt segment usable on OS X systems 2015-10-18 10:55:37 -07:00
Ben Hilburn
d46634a0a7 Merge branch 'master' into next 2015-10-17 21:46:09 -07:00
Ben Hilburn
38bccd1340 README: Updating second image to use @natemccurdy awesome gif. 2015-10-17 21:45:00 -07:00
Ben Hilburn
ee8c59806e README: Updating the docs about vi_mode segment. 2015-10-17 20:29:07 -07:00
Ben Hilburn
34add8aedf Merge pull request #117 from dritter/vi_customizations
Make the vi_mode segement more customizable.
2015-10-17 20:19:53 -07:00
Ben Hilburn
d459ec0983 Merge pull request #114 from alexlafroscia/add-nvm-prompt-segment
Add nvm prompt segment
2015-10-17 20:12:38 -07:00
Ben Hilburn
95d8b62e65 README: changing name of todo.txt segment to todo 2015-10-17 20:08:22 -07:00
rjorgenson
2a6be9dc40 reverting unnoticed white space change 2015-10-17 11:32:59 -07:00
rjorgenson
5add0daad0 added prompt segment for todo.txt task number 2015-10-17 11:30:55 -07:00
Dominik Ritter
86b460f06b vi_mode segement more customizable. 2015-10-16 20:16:31 +02:00