1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-23 15:41:57 +00:00
Commit graph

1216 commits

Author SHA1 Message Date
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
Ben Hilburn
fa21d8fbc9 Fixing Link to Step 2 of Installation Guide 2017-03-20 23:10:41 -04:00
Ben Hilburn
6761124e70 Updating CHANGELOG for v0.6.2 release. 2017-03-20 22:48:38 -04:00
Ben Hilburn
3cba67626d Merge branch 'master' into next 2017-03-20 22:36:45 -04:00
Ben Hilburn
9e40f2d9f2 Merge pull request #452 from dritter/improve_travis_and_vms
Improve travis and VMs
2017-03-20 22:03:32 -04:00
Ben Hilburn
468534a59b Merge pull request #450 from light2yellow/master
README: context section typo fix (#447)
2017-03-20 21:58:51 -04:00
Ben Hilburn
0132c5dc35 Merge pull request #446 from dritter/fix_442
Protect special characters in various modes
2017-03-20 21:57:36 -04:00
Ben Hilburn
33b41ced80 Merge pull request #449 from dritter/ordered_icons_list
Sort the output of `get_icon_names` alphabetically
2017-03-20 18:52:52 -07:00
Ben Hilburn
dca0f7f917 nerdfont config: changing order, removing duplicates 2017-03-20 21:49:17 -04:00
Ben Hilburn
ef838c0f65 Merge pull request #451 from lcorsini/next
added missing icons
2017-03-20 18:36:39 -07:00
Ben Hilburn
c9c0bb940d iTerm2 debugger: changed error code, added Source Code Pro to fontcheck 2017-03-20 21:29:15 -04:00
Dominik Ritter
3ef7fb35f8 Add a hint for the p9k test folder inside the VMs 2017-03-21 02:09:34 +01:00
Dominik Ritter
a4a8afb203 Setup some test folders/repos in the VMs for easier testing 2017-03-21 01:43:24 +01:00
Dominik Ritter
4331ed2dd1 Install more dependencies on travis 2017-03-21 01:42:13 +01:00
Dominik Ritter
b2342f90e9 Install more dependencies in VMs 2017-03-21 01:41:47 +01:00
Dominik Ritter
3704b42a54 Fix a problem with redirection in plain.zsh provider 2017-03-21 01:40:31 +01:00
Dominik Ritter
454798a2c4 Fix a little problem in BSD
On BSD ZSH is installed on a different location than on linux. So we
link it there to make sure our later scripts will work.
2017-03-21 01:33:54 +01:00
Dominik Ritter
3832439759 Assume "yes" on installation of ZSH on travis 2017-03-21 01:32:38 +01:00
Luca Corsini
be12385cce added missing icons 2017-03-20 09:28:43 +01:00
Dominik Ritter
56af9bb3c3 Fix tests on TravisCI
TravisCI runs ubuntu 14.04 which has ZSH 5.0.2 on it.
2017-03-20 00:21:49 +01:00
Dominik Ritter
5b266c7a13 Add tests to ensure all icon keys are set in all modes
This tests do compare icons from all modes (except for flat and
compatible) with all other modes.
2017-03-20 00:07:35 +01:00
Dominik Ritter
f89104f68f Improve get_icon_names function
As this function gets more and more important, it now checks for
overrides the user has made and prints these icons instead. At least
unless the first parameter is not set to "original". Then it will print
the default icons.
2017-03-19 17:55:11 +01: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
Dominik Ritter
e42cb50052 Sort the output of get_icon_names alphabetically 2017-03-19 17:23:48 +01:00