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
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
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
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
Dominik Ritter
41d92371ae
Add tests for setting the right locale in icons.zsh
2017-03-18 20:08:56 +01:00
Dominik Ritter
d9374412e6
Add default locale to protect the special characters
2017-03-18 17:09:51 +01:00
Dominik Ritter
1ac59158ed
Add warn message if XCode is not installed
2017-03-18 11:24:26 +01:00
Dominik Ritter
aa26c73521
Add iTerm2 debugging script
2017-03-17 09:06:48 +01:00
Dominik Ritter
b9ad552649
Add changelog entry for changed ram
segment
2017-03-17 09:03:44 +01:00
Dominik Ritter
4667985871
Add missing changelog entry for font debugger ( #433 )
2017-03-17 09:01:00 +01:00
Ben Hilburn
ec50da4ac5
Merge branch 'Darkheir-next' into next
2017-03-14 14:30:19 -07:00
Ben Hilburn
d6e708b221
Merge branch 'next' of https://github.com/Darkheir/powerlevel9k into Darkheir-next
2017-03-14 14:29:02 -07:00
Ben Hilburn
3ad77e6d6d
Merge branch 'master' into next
2017-03-14 14:25:41 -07:00
Ben Hilburn
2dc3d08520
Merge pull request #433 from dritter/add_font_debugger
...
Add font debugger
2017-03-14 17:18:13 -04:00
Raphaël Cohen
8be5fb62e4
Display available ram on BSD systems
2017-03-12 16:03:32 +01:00
Raphaël Cohen
8a66691017
Merge branch 'next' of github.com:Darkheir/powerlevel9k into next
2017-03-12 12:10:40 +01:00
Raphaël Cohen
3fe12dfe62
Improves ram prompt
...
For OS X display the sum of Pages free and Pages inactive
For Non BSD use MemAvailable instead of MemFree
2017-03-12 12:09:12 +01:00
Dominik Ritter
ef7504354f
Beautify output
2017-03-11 12:58:00 +01:00
Dominik Ritter
01681a7387
Add an all right message
2017-03-11 12:55:36 +01:00
Ben Hilburn
7eb8085b1d
Updating Copyright year
2017-03-10 13:46:58 -05:00
Ben Hilburn
7ec5d100d4
Merge pull request #426 from dritter/fix_changelog
...
Fix changelog formatting
2017-03-10 11:32:17 -05:00
Dominik Ritter
c30d6108b1
Add font issue debugger script
2017-03-10 02:02:42 +01:00