Commit graph

855 commits

Author SHA1 Message Date
James Short
22540e04b8 Fix MacOS specific battery segment logic.
The case statement was causing it to never display that it was charging
and some of the awk statements had an off-by-one bug to grab the correct
values.
2017-01-18 16:05:38 -08:00
Ben Hilburn
c5909e71ea Merge pull request #369 from rjorgenson/context_host_depth
Context host depth
2017-01-03 17:23:09 -05:00
rjorgenson
37145ef14d added documentation for custom host depth to README 2016-12-30 20:13:55 -07:00
rjorgenson
80ee16c16d added custom host depth to context segment 2016-12-30 20:07:26 -07:00
Ben Hilburn
c86b4009ce Merge pull request #366 from rjorgenson/next
migrated battery segment to use pmset on OSX over ioreg
2016-12-30 14:17:04 -05:00
Ben Hilburn
3a3238444d Merge pull request #360 from davidmpaz/icon_by_repo
Display different icons depending on remote type in VCS segment.
2016-12-21 10:22:13 -05:00
Ben Hilburn
5ea003bf5e Merge branch 'master' into next 2016-12-20 17:58:17 -05:00
Ben Hilburn
55b43d819d Merge pull request #348 from DeanF/master
Fixed an issue where full battery registers as disconnected
2016-12-20 17:51:59 -05: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
rjorgenson
4568c3490d added a comment 2016-12-19 16:34:08 -07:00
rjorgenson
16283fc8ee migrated battery segment to use pmset on OSX over ioreg 2016-12-19 15:34:04 -07:00
Christian Rebischke
881ce33263
added virtualization detection with systemd 2016-12-17 18:51:03 +01:00
David Paz
f2cac2273a Assign git service icon depending on repo origin
Check git origin url to search for well know services. Return
proper icon if service found, if not return "git" icon from
font-awesome icon set
2016-12-15 13:08:21 +01:00
David Paz
528e648c04 Add service icon definition on Powerline-Patched Fonts
Add configuration for service icons in section "Powerline-Patched Font".
2016-12-15 13:07:15 +01:00
David Paz
e7ab1e9eed Add service icon definition on fa-regular
Add configuration for icons on section 'awesome-fontconfig'.
2016-12-15 13:06:32 +01:00
David Paz
81f7175f76 Add service icon definition for fa-patched
Add configuration for icon definitions on 'flat'|'awesome-patched'
section.
2016-12-15 13:05:23 +01:00
Dean Fenster
b37090073c Supressed error message for invalid acpi date (happens when disconnecting the power cable) 2016-12-08 21:06:07 +02: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
Ben Hilburn
ffade7bb6d Merge pull request #346 from dritter/configurable_path_separators
Configurable path separators
2016-12-05 18:30:47 -05:00
Dominik Ritter
202ab15007 Fix display of custom dir path separator on linux 2016-12-04 18:43:47 +01:00
Dean Fenster
a637321d58 Fixed syntax issue 2016-12-03 20:02:52 +02:00
Dean Fenster
4bee6dc93d Fixed an issue where full battery registers as disconnected 2016-12-03 19:46:25 +02: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
Dominik Ritter
159938f00e Add changelog entry for dir path separator 2016-11-29 23:05:10 +01:00
Dominik Ritter
a1b4d44755 Make path separator configurable for dir prompt
Now the path separator can be configured by setting
`POWERLEVEL9K_DIR_PATH_SEPARATOR`
2016-11-29 22:58:55 +01:00
Dominik Ritter
7a776dc68c Modify dir segment to use proper states 2016-11-29 22:35:50 +01:00
Ben Hilburn
1ff9da64d9 Merge pull request #343 from rouzbeh84/master
fixing some typos in the comments
2016-11-28 18:37:40 -05:00
Ben Hilburn
afa256f5b3 Merge pull request #341 from rjorgenson/next
Fix #339
2016-11-28 18:36:20 -05:00
Rouzbeh Sarrafieh
72cfc35d3e helping with some spelling corrections in powerlevel9k.zsh-theme instructional sections 2016-11-23 07:23:08 -08:00
rjorgenson
6ed6ba876e Merge remote-tracking branch 'upstream/next' into next 2016-11-21 13:09:29 -07:00
rjorgenson
6d2681d36a fixed regex to determine time remaining on linux for battery segment 2016-11-21 09:51:27 -07:00
Ben Hilburn
352ad4d608 Merge branch 'master' into next 2016-10-27 11:00:18 -04:00
Ben Hilburn
fd9c998f02 Merge pull request #333 from eviltak/dir-truncate-right-with-delim-len
Consider delimiter length while right truncating directories
2016-10-27 10:59:55 -04:00
Ben Hilburn
b54abe48dc Merge pull request #332 from eviltak/show-ok-in-non-verbose-status
Show OK in non verbose status prompt
2016-10-27 10:57:12 -04:00
Arav Singhal
8d7a4e462a Update test for required behavior 2016-10-27 13:23:22 +05:30
Arav Singhal
1edb74ba91 Consider delimiter length in dir truncate right
Truncating the path from the right now takes in account the delimiter
length, so that directories with names shorter than truncated name +
delimiter are displayed properly.

For example, if SHORTEN_DIR_LENGTH is 4 and the delimiter is "..",
"../tests/.." and "../custom/.." are not incorrectly "truncated" to
"../test../.." and "../cust../..", both of which are longer or the same
length as the original.
2016-10-27 13:01:02 +05:30
Arav Singhal
b129cd09e0 Describe OK in non-verbose toggle in README 2016-10-27 12:11:33 +05:30
Arav Singhal
cde591ce2e Add toggle for showing OK in non verbose status
Adds the toggle POWERLEVEL9K_STATUS_OK_IN_NON_VERBOSE for more
customizability. If POWERLEVEL9K_STATUS_VERBOSE is false and
POWERLEVEL9K_STATUS_OK_IN_NON_VERBOSE is true, the status prompt will
show the OK visual identifier like in verbose mode. The prompt will show
the OK identifier even if POWERLEVEL9K_STATUS_OK_IN_NON_VERBOSE is false
in verbose mode.
2016-10-27 11:42:21 +05:30
Ben Hilburn
11fcb5684b Merge branch 'master' into next 2016-10-26 11:17:47 -04:00
Ben Hilburn
3c92cf9748 Merge pull request #321 from Jack-Q/master
Fix load and ram indicator support for BSD
2016-10-26 11:17:31 -04:00
Ben Hilburn
3326353b10 Merge branch 'master' into next 2016-10-26 11:08:53 -04:00
Ben Hilburn
790230e1c7 Merge pull request #326 from mtraynham/fix_svn_detect_changes
Fix '+vi-svn-detect-changes:local:1: not valid in this context'
2016-10-26 09:49:33 -04:00
Ben Hilburn
cdb2302359 Merge pull request #324 from bsidhipong/unicode-escape-fix
Changed \u and \U to properly reflect number of hex digits to follow.
2016-10-26 09:46:02 -04:00
Matt Traynham
bddbdd62e8 Fix '+vi-svn-detect-changes:local:1: not valid in this context' 2016-10-19 09:35:23 -04:00
bsidhipong
ef1e2c99b6 Changed \u and \U to reflect number of hex digits to follow
Some unicode icon strings were set with \uHHHHH which showed the wrong
characters on some implementations of zsh (linux and macOS).  Changed
\uHHHHH to \UHHHHH and conversely changed \UHHHH to \uHHHH.
2016-10-16 22:28:43 -05:00
Jack Q
894699351d fix load and ram indicator support for BSD 2016-10-05 09:08:32 +08:00
Arav Singhal
9b7fffe1a8 Make status prompt show OK in non-verbose mode
* The status prompt now shows the OK icon even in non-verbose mode.
 A toggle may be added to this effect in the future.
2016-09-30 21:32:22 +05:30