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

1089 commits

Author SHA1 Message Date
Dominik Ritter
a234636982 Fix empty delimiter
Even if the delimiter is empty, the min length should be 1.
This fixes #558
2017-07-12 03:29:31 +02:00
Ben Hilburn
6735c24e62 Merge pull request #547 from D-side/patch-1
Fixed RVM segment for usernames with dashes
2017-07-11 19:39:54 -04:00
Pavel Peganov
65c770606b Fixed RVM segment for usernames with dashes
Having a username with a dash, such as mine, `d-side`, currently results in RVM segment displaying the wrong thing, e. g. `side/.rvm/rubies/ruby`. This fixes the issue.
2017-06-11 04:09:00 +03:00
Ben Hilburn
4be16020b7 Merge pull request #535 from zikes/go_icon
Add Gopher icon to go_version segment
2017-05-27 21:22:20 -04:00
Jason Hutchinson
f81ecc11f6 set GO_ICON manually in test 2017-05-25 17:19:56 -05:00
Jason Hutchinson
a6887eb165 update test 2017-05-25 16:59:54 -05:00
Jason Hutchinson
99c9ba9367 add Gopher icon to go_version segment 2017-05-25 16:38:14 -05:00
Ben Hilburn
b63bf00113 Merge pull request #473 from zikes/patch-1
Only show go_version segment if inside GOPATH
2017-05-22 21:55:49 -04:00
Ben Hilburn
58d5027dba Merge branch 'moxon6-master' 2017-05-22 21:39:31 -04:00
Martin Moxon
1cc8c49137 Make Anaconda environment status match Virtualenv format 2017-05-17 20:49:27 +01:00
Ben Hilburn
ecd05e1b67 Merge pull request #519 from docwhat/pr/readme-typo
readme: typo fix
2017-05-09 21:48:59 -04:00
Christian Höltje
ab8d6ae299 readme: typo 2017-05-04 02:47:55 -04:00
Ben Hilburn
29c0172c18 Merge pull request #513 from belak/belak/prompt-cr
Make sure prompt_cr is set
2017-05-03 15:36:55 -04:00
Kaleb Elwert
39eea0479d Make sure prompt_cr is set
Fixes #511
2017-05-03 11:58:18 -07:00
Ben Hilburn
954c8697e7 Merge pull request #502 from shibumi/detect-virt-debugging
[detect-virt] quickfix for unnecessary information in prompt
2017-04-24 14:06:09 -04:00
Christian Rebischke
dc2b5a833f
[detect-virt] quickfix for unnecessary information in prompt 2017-04-23 15:39:57 +02:00
Ben Hilburn
95be97ea5f Updating CHANGELOG for v0.6.3. 2017-04-21 11:36:24 -04:00
Ben Hilburn
1dbaf43b98 Merge branch 'master' into next 2017-04-21 11:14:59 -04:00
Ben Hilburn
2f462bd33a Merge pull request #496 from belak/options-oddities
Fix some oddities with prompt options
2017-04-20 11:49:24 -04:00
Ben Hilburn
6d677f5770 Merge pull request #494 from belak/better-realpath
Use method built in to zsh to read symlinks
2017-04-20 10:45:39 -04:00
Kaleb Elwert
efac911431 Stop setting options in prompt setup which are thrown away 2017-04-20 00:03:44 -07:00
Kaleb Elwert
f46c1bc11b Add prompt_opts to prompt setup function 2017-04-19 17:40:41 -07:00
Kaleb Elwert
6f4c09ab99 Use method built in to zsh to read symlinks 2017-04-19 11:18:28 -07:00
Ben Hilburn
25fc2fb03e Merge branch 'master' into next 2017-04-19 10:44:27 -04:00
Ben Hilburn
99e59bc83a Revert "Merge branch 'fix-pw3nage-exploit' of https://github.com/belak/powerlevel9k into belak-fix-pw3nage-exploit"
This reverts commit ae259ff594, reversing
changes made to 01a5c6a3a1.
2017-04-19 10:14:11 -04:00
Jason Hutchinson
55cf15ac41 test that go_segment prints nothing if GOPATH is not set 2017-04-19 00:12:34 -05:00
Jason Hutchinson
0519384d57 test that go_segment prints nothing if GOPATH is set but is not a subset of PWD 2017-04-19 00:11:54 -05:00
Jason Hutchinson
ac3307400d update go mock to allow for both version and env sub-commands 2017-04-19 00:11:02 -05:00
Jason Hutchinson
192d634e08 ensure go_version segment prints if PWD is subset of non-empty GOPATH 2017-04-19 00:09:07 -05:00
Kaleb Elwert
769d82ce63 Fix double expansion of prompt variables 2017-04-18 19:30:54 -04:00
Ben Hilburn
ae259ff594 Merge branch 'fix-pw3nage-exploit' of https://github.com/belak/powerlevel9k into belak-fix-pw3nage-exploit 2017-04-18 19:26:08 -04:00
Kaleb Elwert
2817b45f05 Fix double expansion of prompt variables 2017-04-18 16:04:13 -07:00
Ben Hilburn
ddc425a840 Merge pull request #484 from shibumi/svn-debugging
[SVN] removed %b identifier to fix color encoding
2017-04-18 18:14:12 -04:00
Ben Hilburn
c70bb0d4ee Merge branch 'master' into next 2017-04-18 18:08:44 -04:00
Ben Hilburn
01a5c6a3a1 Merge pull request #483 from changyuheng/pr-status-tick-color
Set tick to color name green instead of color code
2017-04-18 18:08:23 -04:00
Ben Hilburn
54a444535a Converting timer start time to hex 2017-04-18 18:02:37 -04:00
guixxx
421f506bf8 Improve logic 2017-04-18 18:02:37 -04:00
guixxx
ea2d02d08f Adds useful comment 2017-04-18 18:02:37 -04:00
guixxx
c403ad6cd7 Adds Android icon/battery plugin support
Plus fixes bhilburn/powerlevel9k#479, which was causing integer overflow on 32-bit CPUs
2017-04-18 18:02:37 -04:00
Christian Rebischke
2a8259e128
[SVN] removed %b identifier to fix color encoding 2017-04-16 16:53:48 +02:00
Henry Chang
18fc317cf7
Set tick to color name green instead of color code
So the tick will not be too bright in light background color scheme such
as Solarized Light.
2017-04-15 23:04:33 -07:00
Jason Hutchinson
21d8fc6378 Redirect stderr for GOPATH check to /dev/null
Accounts for instances where `go` binary is not installed.
2017-04-12 17:09:23 -05:00
Ben Hilburn
2be5d5071e Merge pull request #461 from julienfalque/dir-home
Make home shorthand configurable for dir prompt
2017-04-12 17:24:37 -04:00
Ben Hilburn
37174ea911 Merge pull request #466 from bhilburn/nerdfont-complete
Changing name of nerdfont option per #458
2017-04-07 09:58:00 -04:00
Jason Hutchinson
f140104e4a only show go_version segment if inside GOPATH
As of Go v1.8 GOPATH need not be set, as it will default to $HOME/go. By using `go env GOPATH` to retrieve the value first, this technique will work regardless of whether GOPATH is currently set by the user.
2017-04-06 23:17:32 -05:00
Julien Falque
708705599d
Make home abbreviation configurable for dir prompt 2017-04-04 08:17:18 +02:00
Ben Hilburn
67ef7892de Changing name of nerdfont option per #458 2017-04-03 20:50:23 -04:00
Ben Hilburn
5a1d9ddb64 Updating README to use @V1rgul's screenshot.
Per #370
2017-04-03 20:18:16 -04:00
Ben Hilburn
0e627164bc Merge pull request #463 from liblit/handle-echotc-Co-failure
Gracefully handle `echotc Co` failure
2017-04-03 20:01:05 -04:00
Ben Liblit
9444e4c0c6 Gracefully handle echotc Co failure
In Emacs, `M-x shell` creates a shell buffer with very rudimentary
terminal capabilities.  `$TERM` is set to `dumb`, and `echotc Co`
fails after printing `echotc: no such capability: Co` to standard
error.  If our goal was to determine whether the terminal supports 256
colors, we really have no information to go on.  I recommend that we
trust the user and hope for the best.  That means we should (1)
discard any `echotc Co` error output, and (2) forego the warning
message about having fewer than 256 colors if `echotc Co` failed.
2017-03-31 23:23:27 -05:00