Jason Hutchinson
c11c3a55de
use p9k print_icon for kubecontext segment
2017-05-26 13:27:17 -05:00
Jason Hutchinson
99c9ba9367
add Gopher icon to go_version segment
2017-05-25 16:38:14 -05:00
Ben Hilburn
e844fc4c72
Incorporating @dritter's feedback from #524 .
2017-05-22 21:12:59 -04:00
Christian Höltje
e9e3e9dc53
newline: support PROMPT_ON_NEWLINE
...
The newline segment will now show ├─ when using
`POWERLEVEL9K_PROMPT_ON_NEWLINE`
Note: This can be overridden via `POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX`
2017-05-12 22:14:01 -04:00
guixxx
e6c37b6bc5
Icons for Windows/Cygwin + Refixes 32-bit support
2017-05-07 10:34:54 -03:00
Ben Hilburn
c70bb0d4ee
Merge branch 'master' into next
2017-04-18 18:08:44 -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
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
Ben Hilburn
67ef7892de
Changing name of nerdfont option per #458
2017-04-03 20:50:23 -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
Luca Corsini
be12385cce
added missing icons
2017-03-20 09:28:43 +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
Dominik Ritter
e42cb50052
Sort the output of get_icon_names
alphabetically
2017-03-19 17:23:48 +01:00
Dominik Ritter
d9374412e6
Add default locale to protect the special characters
2017-03-18 17:09:51 +01:00
Ben Hilburn
e86ff4ccb7
Fixing AWS icon for nerdfonts, fixing branch icon space.
2017-03-08 13:25:06 -05:00
David Paz
b59d73c039
Hide error when no origin in git repo
...
Fix git ls-remote call to match as in sugessted code for redirect
error to null.
2017-02-24 10:12:35 +01:00
Riadh Habbachi
02df303651
Update awesome-fontconfig SERVER_ICON to
2017-02-23 12:36:54 -05:00
Ben Hilburn
864979ed27
nerdfont: updating name for nerdfont selection
2017-02-23 12:32:42 -05:00
Ben Hilburn
163b2f4583
Merge branch 'nerdfont' of https://github.com/kaymmm/powerlevel9k into kaymmm-nerdfont
2017-02-23 12:21:03 -05:00
Dominik Ritter
875dec5dae
Merge branch 'next' into execution_time
2017-02-14 21:42:41 +01:00
Ben Hilburn
3de352b296
Adding ssh
segment back with some minor changes.
2017-02-13 22:07:23 -05:00
Dominik Ritter
04e75a683d
Reworked command_execution_time
segment
...
- Add a visual identifier
- Fix a bug that the time was not reset
- Make calculation independent of segment (thx @rjorgenson)
2017-02-13 23:17:04 +01:00
Dominik Ritter
610fd4fbfd
Merge branch 'next' into benoits_dir_segment
2017-02-12 18:59:21 +01:00
Benoit Averty
6927b0ca94
Add directory permission prompt segment
2017-01-31 23:54:03 +01:00
Benoit Averty
9f4772f993
More possibilities with truncate folder marker
2017-01-31 23:49:46 +01:00
Benoit Averty
ebf808c533
Add dir_truncate_root option
2017-01-31 23:47:49 +01:00
Keith Miyake
a115035d27
fix spacing on battery icon
2017-01-26 17:28:23 -05:00
Keith Miyake
60bb6ce0b3
Merge branch 'next' of https://github.com/bhilburn/powerlevel9k into nerdfont
...
* 'next' of https://github.com/bhilburn/powerlevel9k :
CHANGELOG: Updating to reflect work on `next`
README: fixing name of `detect-virt` to `detect_virt`
README: default segment list was no longer accurate
updating changelog for segment name change `disk_usage`
incorportaing feedback from review on `hdd_usage` segment
Fix swift segment
Updating the readme wih `hdd_usage` details.
changing `hdd_usage` to actually show usage
Moving `HDD_ICON` definition to consistent spot.
Fix
Fix
Fix
Fix
Fix
Fix
Change colors
Add anion155's HDD segment
2017-01-26 13:02:42 -05:00
Ben Hilburn
92b1b6235a
Merge pull request #378 from bhilburn/anion155-hdd-segment
...
Adding new disk_usage segment, based on Anion155's hdd_usage
2017-01-21 21:56:27 -05:00
Ben Hilburn
7bd2585371
incorportaing feedback from review on hdd_usage
segment
2017-01-21 21:34:55 -05:00
Keith Miyake
f9d2f3a3a5
Merge remote-tracking branch 'upstream/next' into nerdfont
...
* upstream/next: (41 commits)
vcs icons: fixing branch spacing and remote icon in fontawesome
same deal for the "FAIL_ICON"!
fixing the "OK_ICON" in 'awesome-fontconfig' which somehow got broken
Change powerlevel9k_init to prompt_powerlevel_setup
Fix MacOS specific battery segment logic.
Minor fix-up to the README.
Adding license note about the new logo.
more typos
Adding the new logo to the README!
fixed typo fixed issue with POWERLEVEL9K_PUBLIC_IP_NONE being empty .. i hope
fixed typo
reverted testing value to default value
added link to segemnt documenation in README
fixed issue with POWERLEVEL9K_PUBLIC_IP_NONE being empty for real
fixed issue with POWERLEVEL9K_PUBLIC_IP_NONE being empty
added README section for public_ip segment
added the ability to specify and only attempt a particular method
Add Changelog for v0.5.0
added configurable string when there is no IP
updated some comments changed some offline behavior
...
2017-01-21 13:40:51 -08:00
Ben Hilburn
9ead1c1548
Merge branch 'master' into next
2017-01-20 22:47:29 -05:00
Ben Hilburn
d2c0a62445
vcs icons: fixing branch spacing and remote icon in fontawesome
2017-01-20 22:45:35 -05:00
Ben Hilburn
ea648d003e
Moving HDD_ICON
definition to consistent spot.
2017-01-20 22:05:57 -05:00
Mikhaylov Anton
46ef589b63
Add anion155's HDD segment
2017-01-20 22:05:32 -05:00
Ben Hilburn
353cb7a497
Merge branch 'master' into next
2017-01-20 22:04:36 -05:00
Ben Hilburn
c8cc891045
same deal for the "FAIL_ICON"!
2017-01-20 22:04:16 -05:00
Ben Hilburn
d44c336eeb
Merge branch 'master' into next
2017-01-20 22:00:34 -05:00
Ben Hilburn
95f0c3c6ec
fixing the "OK_ICON" in 'awesome-fontconfig' which somehow got broken
2017-01-20 21:59:59 -05:00
rjorgenson
fa21bfff45
reverted trailing space edit
2016-12-30 14:10:43 -07:00
rjorgenson
29233c1963
added public IP segment for review/discussion
2016-12-30 14:04:18 -07: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
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
Keith Miyake
82aa37d230
Add nerdfont icons
2016-12-08 21:23:58 -08: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
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
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
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
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
Ben Hilburn
3f1f11a1f1
bugfix: typo in "POWERLEVEL9K" broke the VCS tag display
2016-09-26 13:54:43 -04:00
Ben Hilburn
c4fdc8f708
Improved speed of prompt_vcs
by 50%-66%.
2016-08-31 10:35:05 -04:00
Ben Hilburn
683ca10e36
vcs: adding detection of unstaged / staged for svn repos
2016-08-30 20:44:07 -04:00
Christian Rebischke
3b0da2c348
fixed svn-detect-changes().. the svn prompt has now the same behaviour as the git prompt..
2016-08-30 20:41:51 -04:00
Christian Rebischke
e134c70bc1
swapped half and full dirty in svn-detect-changes
2016-08-30 20:41:51 -04:00
Christian Rebischke
62e41ada1f
added vi-svn-detect-changes() in functions/vcs.zsh
2016-08-30 20:41:51 -04:00
Ben Hilburn
3291b4d476
Merging ability to hide tags from VCS segment.
2016-07-12 20:28:01 -04:00
Ben Hilburn
b893d66a46
Merge branch 'next' of https://github.com/Xetius/powerlevel9k into xetius-vcs-hide-tags
2016-07-12 20:17:25 -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
Marin Gilles
f50ac9edd8
Changed python icon to snake
2016-06-23 07:51:02 +02:00
Thuan (Duong Tien)
ec25e3b3af
[ADD] PYTHON_ICON
2016-05-04 21:16:16 +07:00
Ben Hilburn
511bbcf124
Merge pull request #247 from orhanbalci/next
...
rust icon added to rust segment
2016-04-19 15:23:43 -04:00
orhanbalci
67dce19024
whitespace fix
2016-04-19 22:08:11 +03:00
orhanbalci
c991553fb2
empty rust icon for patched mode
2016-04-17 21:51:34 +03:00
Dominik Ritter
7b2e995299
Fix truncation of changeset in detached tag mode
2016-04-17 18:03:31 +02:00
orhanbalci
72315fdc59
rust icon added
2016-04-16 23:46:32 +03:00
Ben Hilburn
a09eda6774
Fixing comments in vi-git
...
-tagname
2016-04-12 10:54:10 -04:00
Ben Hilburn
0f4e3e7588
git-tagname: Now showing hash/branchname when sitting on a tag
2016-04-12 10:43:34 -04:00
Ben Hilburn
6fde7bf3fd
git-tagname: reducing conditionals in logic
2016-04-12 10:42:34 -04:00
Ben Hilburn
3ee1f419c7
Merge branch 'next' of https://github.com/nmaggioni/powerlevel9k into nmaggioni-next
2016-04-12 08:53:25 -04:00
Niccolò Maggioni
14e213bd68
Weird conditions handling
...
Become a programmer, they said. It'll be fun, they said.
2016-04-11 23:02:58 +02:00
Niccolò Maggioni
ce16b087c6
Avoid tag/branch duplication if same value
2016-04-11 21:37:28 +02: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
Niccolò Maggioni
1ab41d9a6c
Better DETACHED_HEAD detection
2016-03-25 10:51:33 +01:00
Niccolò Maggioni
4fdf5df258
Documentation
2016-03-22 18:24:34 +01:00
Alex LaFroscia
4ca6938801
Apply max dir length to package name shortener
2016-03-22 13:14:10 -04:00
Niccolò Maggioni
89fefbdf6e
DETACHED_HEAD handling
2016-03-22 17:51:01 +01:00
Niccolò Maggioni
b46a96a7ce
Git tag not replacing branch
2016-03-22 17:29:34 +01:00
sabricot
3c95feb0bd
Add a docker machine segment
2016-03-06 18:25:17 +01:00
Dominik Ritter
cb5d33affb
Fix untracked state of the vcs segment
2016-02-26 15:53:14 +01:00
Dominik Ritter
a1ef6548d5
Fix dynamic coloring of VCS segment
...
The VCS segment had a lot of own color definitions. Now they are all
gone, so that the only color definitions are when the segment gets
printed.
2016-02-18 18:27:32 +01:00
Ben Hilburn
94c87a4d23
Reflect submodule status in VCS prompty by default.
2016-02-17 17:09:54 -08:00
Ben Hilburn
64d81a2b36
Merge pull request #212 from dritter/unit_testing
...
Adding Unit Tests, supported by Travis-CI
2016-02-17 15:39:55 -08:00
Dominik Ritter
d7a0f49391
Add documentation for printSizeHumanReadable
2016-02-12 01:18:35 +01:00
Sebastien Varrette
52982e3f63
mention to git_compare_version
...
Signed-off-by: Sebastien Varrette <Sebastien.Varrette@uni.lu>
2016-02-09 14:22:47 +01:00
Sebastien Varrette
0fd9d277f9
correct half-dirty detection -- restrict to untracked files
...
Signed-off-by: Sebastien Varrette <Sebastien.Varrette@uni.lu>
2016-02-09 14:09:33 +01:00
Sebastien Varrette
56bc1b3f47
dirty check even in subdirs
...
Signed-off-by: Sebastien Varrette <Sebastien.Varrette@uni.lu>
2016-02-08 17:14:28 +01:00
Dominik Ritter
e9da3d5146
Fix joining segments
2016-02-06 20:07:42 +01:00
Ben Hilburn
4bbff138fb
Merging @theminor's changes from PR #204
2016-02-05 10:59:33 -08:00
Ben Hilburn
4897c795fa
Merge branch 'master' into next
2016-02-05 10:57:56 -08:00
Ben Hilburn
25bf6d60a0
Merge pull request #181 from dritter/split_up_ram_segment
...
Split up `ram` segment into `ram` and `swap`.
2016-02-05 10:37:28 -05:00