Commit Graph

260 Commits (028a02df06113f22e718789bc2251124ba3938ce)

Author SHA1 Message Date
Tim Otlik da9ec721b7
add missing icons to compat set 7 years ago
Tim Otlik bba8bb883e
add check of /etc/os-release for linux distros 7 years ago
Tim Otlik 845e74c5c3
added LINUX_*_ICON for several OS 7 years ago
Christian Höltje cc4daa7698 Fix GIT and GITHUB nerdfont icon.
VCS_GIT_ICON and VCS_GIT_GITHUB_ICON were wrong.
7 years ago
Michael Louwrens 7fff5bd7a6 add new icons and add remote_sudo 7 years ago
Michael Louwrens 3893785873 try out sudo icon changes 7 years ago
Ben Hilburn fd3d234354
Merge pull request #681 from Stazer/tcolor-warning
Added flag to ignore checking the term colors & lang settings
7 years ago
Ben Hilburn 8090d13962
Merge pull request #717 from onaforeignshore/date_segment
Added `prompt_date` and fixed segment comments
7 years ago
Christian Höltje 87988cea26 getColor() must always print result
This was causing colors specified as numbers to not be shown.
7 years ago
Justus Flerlage 3a605c7f62 renamed POWERLEVEL9K_CHECK_TERM_COLORS to POWERLEVEL9K_IGNORE_TERM_COLORS 7 years ago
Justus Flerlage 4db2eb0e16 Added flag for checking the term colors 7 years ago
Christo Kotze 2680eec848 Updates to `functions/icons.zsh`
Added date and time icons
7 years ago
Charles Peterson 0c943ac6d5 colors checking optimized and added tput for check the colors
moved to colors functions, because it makes sense.
7 years ago
Charles Peterson 4d18fdc6e9 fix for colors since the terminals so not always render named colors when using parameter expansion. 7 years ago
Ben Hilburn ea05b4ebe6 Merge branch 'master' into next 7 years ago
Ben Hilburn 3fe9b83ebb
Merge pull request #688 from Stealthii/feature/stash-vcs
Add Stash naming support for Bitbucket Server
7 years ago
Ben Hilburn 3d79ca1adc
Merge pull request #684 from Artistan/color_names
Use color names, plus fixes
7 years ago
Daniel Porter cbc7199dc4 Add Stash naming support for Bitbucket Server 7 years ago
Kentaro Hayashi f154e75667 Disable alias of grep
If user defined alias of grep command with '-r' or '--recursive'
option, it causes a slow response of command line. It is not
unexpected behavior of vcs info.

This commit explicitly disables alias of grep to suppress side
effects.
7 years ago
Charles Peterson 264897a426 color names and fixes
- fix for packageName truncated by POWERLEVEL9K_DIR_OMIT_FIRST_CHARACTER
     - processing the pwd/HOME replacement ONCE.
     - fix tests for named colors
     - use color names by default to allow dark/light themes to adjust colors based on names
7 years ago
Ben Hilburn 2a7f3966c2 Merge branch 'master' into next 7 years ago
Ben Hilburn 01b554cda8 Adding a space after VCS_BRANCH_ICON by default 7 years ago
Ben Hilburn b87c3b85ac Updating Dropbox icon for non-awesome fonts 7 years ago
Chris Chou 5657fe6ac7 #632: Indicate `Rust` or `(rust)` for rust_version segment only if icon is unavailable 7 years ago
Simon Pettersson 36b833aae3 Corrected awesome-fontconfig lock icon 7 years ago
Timothy Earley 81cbd65142 Added dropbox segment 7 years ago
Ben Hilburn 50f0a94642 Slight tweaks to the awesome-mapped-fontconfig error message. 7 years ago
Ben Hilburn 47e32f913d Merge branch 'awesome-font-mapping' of https://github.com/pfrybar/powerlevel9k into pfrybar-awesome-font-mapping 7 years ago
Paul Frybarger 0f58a4950c similar to PR #472, fixing for awesome font mappings 7 years ago
Ben Hilburn 02332d5962 Merge branch 'master' into next 7 years ago
Giorgi Gzirishvili 1ded7c2c90 Update OK_ICON weight to march FAIL_ICON
Fixes #576.
7 years ago
Diego Rabatone Oliveira e3530de3dc
Fix reference for python icon.
While using awesome-terminal-fonts it is recommended to use `\ue63c` to
reference python icon instead of `\U1F40D` (that wasn't even working).
Ref:
https://github.com/gabrielelana/awesome-terminal-fonts/issues/38#issuecomment-302939451
7 years ago
Christian Höltje 8626d07d60 Merge remote-tracking branch 'origin/master' into pr/merge-master 7 years ago
Dominik Ritter a234636982 Fix empty delimiter
Even if the delimiter is empty, the min length should be 1.
This fixes #558
7 years ago
Ben Hilburn e09d4ae926 Merge branch 'next' into next 8 years ago
David Sabatie 5eec2e28d0 add vpn ip to prompt 8 years ago
Jason Hutchinson c11c3a55de use p9k print_icon for kubecontext segment 8 years ago
Jason Hutchinson 99c9ba9367 add Gopher icon to go_version segment 8 years ago
Ben Hilburn e844fc4c72 Incorporating @dritter's feedback from #524. 8 years ago
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`
8 years ago
guixxx e6c37b6bc5 Icons for Windows/Cygwin + Refixes 32-bit support 8 years ago
Ben Hilburn c70bb0d4ee Merge branch 'master' into next 8 years ago
Ben Hilburn 54a444535a Converting timer start time to hex 8 years ago
guixxx 421f506bf8 Improve logic 8 years ago
guixxx c403ad6cd7 Adds Android icon/battery plugin support
Plus fixes bhilburn/powerlevel9k#479, which was causing integer overflow on 32-bit CPUs
8 years ago
Ben Hilburn 67ef7892de Changing name of nerdfont option per #458 8 years ago
Ben Hilburn 0132c5dc35 Merge pull request #446 from dritter/fix_442
Protect special characters in various modes
8 years ago
Ben Hilburn 33b41ced80 Merge pull request #449 from dritter/ordered_icons_list
Sort the output of `get_icon_names` alphabetically
8 years ago
Ben Hilburn dca0f7f917 nerdfont config: changing order, removing duplicates 8 years ago
Luca Corsini be12385cce added missing icons 8 years ago
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.
8 years ago
Dominik Ritter e42cb50052 Sort the output of `get_icon_names` alphabetically 8 years ago
Dominik Ritter d9374412e6 Add default locale to protect the special characters 8 years ago
Ben Hilburn e86ff4ccb7 Fixing AWS icon for nerdfonts, fixing branch icon space. 8 years ago
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.
8 years ago
Riadh Habbachi 02df303651 Update awesome-fontconfig SERVER_ICON to  8 years ago
Ben Hilburn 864979ed27 nerdfont: updating name for nerdfont selection 8 years ago
Ben Hilburn 163b2f4583 Merge branch 'nerdfont' of https://github.com/kaymmm/powerlevel9k into kaymmm-nerdfont 8 years ago
Dominik Ritter 875dec5dae Merge branch 'next' into execution_time 8 years ago
Ben Hilburn 3de352b296 Adding `ssh` segment back with some minor changes. 8 years ago
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)
8 years ago
Dominik Ritter 610fd4fbfd Merge branch 'next' into benoits_dir_segment 8 years ago
Benoit Averty 6927b0ca94 Add directory permission prompt segment 8 years ago
Benoit Averty 9f4772f993 More possibilities with truncate folder marker 8 years ago
Benoit Averty ebf808c533 Add dir_truncate_root option 8 years ago
Keith Miyake a115035d27 fix spacing on battery icon 8 years ago
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
8 years ago
Ben Hilburn 92b1b6235a Merge pull request #378 from bhilburn/anion155-hdd-segment
Adding new disk_usage segment, based on Anion155's hdd_usage
8 years ago
Ben Hilburn 7bd2585371 incorportaing feedback from review on `hdd_usage` segment 8 years ago
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
  ...
8 years ago
Ben Hilburn 9ead1c1548 Merge branch 'master' into next 8 years ago
Ben Hilburn d2c0a62445 vcs icons: fixing branch spacing and remote icon in fontawesome 8 years ago
Ben Hilburn ea648d003e Moving `HDD_ICON` definition to consistent spot. 8 years ago
Mikhaylov Anton 46ef589b63 Add anion155's HDD segment 8 years ago
Ben Hilburn 353cb7a497 Merge branch 'master' into next 8 years ago
Ben Hilburn c8cc891045 same deal for the "FAIL_ICON"! 8 years ago
Ben Hilburn d44c336eeb Merge branch 'master' into next 8 years ago
Ben Hilburn 95f0c3c6ec fixing the "OK_ICON" in 'awesome-fontconfig' which somehow got broken 8 years ago
rjorgenson fa21bfff45 reverted trailing space edit 8 years ago
rjorgenson 29233c1963 added public IP segment for review/discussion 8 years ago
Ben Hilburn 3a3238444d Merge pull request #360 from davidmpaz/icon_by_repo
Display different icons depending on remote type in VCS segment.
8 years ago
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
8 years ago
David Paz 528e648c04 Add service icon definition on Powerline-Patched Fonts
Add configuration for service icons in section "Powerline-Patched Font".
8 years ago
David Paz e7ab1e9eed Add service icon definition on fa-regular
Add configuration for icons on section 'awesome-fontconfig'.
8 years ago
David Paz 81f7175f76 Add service icon definition for fa-patched
Add configuration for icon definitions on 'flat'|'awesome-patched'
section.
8 years ago
Keith Miyake 82aa37d230 Add nerdfont icons 8 years ago
Ben Hilburn 7a49c9704d Merge pull request #347 from thomaspaulmann/swift
Add prompt for current installed swift version
8 years ago
Thomas Paul Mann 21a5cbd988 Add prompt for current installed swift version 8 years ago
Ben Hilburn 352ad4d608 Merge branch 'master' into next 8 years ago
Ben Hilburn fd9c998f02 Merge pull request #333 from eviltak/dir-truncate-right-with-delim-len
Consider delimiter length while right truncating directories
8 years ago
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.
8 years ago
Ben Hilburn 3326353b10 Merge branch 'master' into next 8 years ago
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'
8 years ago
Matt Traynham bddbdd62e8 Fix '+vi-svn-detect-changes:local:1: not valid in this context' 8 years ago
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.
8 years ago
Ben Hilburn 3f1f11a1f1 bugfix: typo in "POWERLEVEL9K" broke the VCS tag display 8 years ago
Ben Hilburn c4fdc8f708 Improved speed of `prompt_vcs` by 50%-66%. 8 years ago
Ben Hilburn 683ca10e36 vcs: adding detection of unstaged / staged for svn repos 8 years ago
Christian Rebischke 3b0da2c348 fixed svn-detect-changes().. the svn prompt has now the same behaviour as the git prompt.. 8 years ago
Christian Rebischke e134c70bc1 swapped half and full dirty in svn-detect-changes 8 years ago
Christian Rebischke 62e41ada1f added vi-svn-detect-changes() in functions/vcs.zsh 8 years ago
Ben Hilburn 3291b4d476 Merging ability to hide tags from VCS segment. 8 years ago
Ben Hilburn b893d66a46 Merge branch 'next' of https://github.com/Xetius/powerlevel9k into xetius-vcs-hide-tags 8 years ago
Chris Hudson ef2d01a2aa Added POWERLEVEL9K_VCS_HIDE_TAGS variable to control displaying of vcs tags in segment 8 years ago
Marin Gilles f50ac9edd8 Changed python icon to snake 9 years ago
Thuan (Duong Tien) ec25e3b3af [ADD] PYTHON_ICON 9 years ago
Ben Hilburn 511bbcf124 Merge pull request #247 from orhanbalci/next
rust icon added to rust segment
9 years ago
orhanbalci 67dce19024 whitespace fix 9 years ago
orhanbalci c991553fb2 empty rust icon for patched mode 9 years ago
Dominik Ritter 7b2e995299 Fix truncation of changeset in detached tag mode 9 years ago
orhanbalci 72315fdc59 rust icon added 9 years ago
Ben Hilburn a09eda6774 Fixing comments in vi-git
-tagname
9 years ago
Ben Hilburn 0f4e3e7588 git-tagname: Now showing hash/branchname when sitting on a tag 9 years ago
Ben Hilburn 6fde7bf3fd git-tagname: reducing conditionals in logic 9 years ago
Ben Hilburn 3ee1f419c7 Merge branch 'next' of https://github.com/nmaggioni/powerlevel9k into nmaggioni-next 9 years ago
Niccolò Maggioni 14e213bd68
Weird conditions handling
Become a programmer, they said. It'll be fun, they said.
9 years ago
Niccolò Maggioni ce16b087c6
Avoid tag/branch duplication if same value 9 years ago
Ben Hilburn aec9d95295 Merge pull request #229 from alexlafroscia/add-package-name-shortening-strategy
Add shortening strategy based on package.json name
9 years ago
Niccolò Maggioni 1ab41d9a6c
Better DETACHED_HEAD detection 9 years ago
Niccolò Maggioni 4fdf5df258
Documentation 9 years ago
Alex LaFroscia 4ca6938801 Apply max dir length to package name shortener 9 years ago
Niccolò Maggioni 89fefbdf6e
DETACHED_HEAD handling 9 years ago
Niccolò Maggioni b46a96a7ce
Git tag not replacing branch 9 years ago
sabricot 3c95feb0bd Add a docker machine segment 9 years ago
Dominik Ritter cb5d33affb Fix untracked state of the vcs segment 9 years ago
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.
9 years ago
Ben Hilburn 94c87a4d23 Reflect submodule status in VCS prompty by default. 9 years ago
Ben Hilburn 64d81a2b36 Merge pull request #212 from dritter/unit_testing
Adding Unit Tests, supported  by Travis-CI
9 years ago
Dominik Ritter d7a0f49391 Add documentation for printSizeHumanReadable 9 years ago
Sebastien Varrette 52982e3f63 mention to git_compare_version
Signed-off-by: Sebastien Varrette <Sebastien.Varrette@uni.lu>
9 years ago
Sebastien Varrette 0fd9d277f9 correct half-dirty detection -- restrict to untracked files
Signed-off-by: Sebastien Varrette <Sebastien.Varrette@uni.lu>
9 years ago
Sebastien Varrette 56bc1b3f47 dirty check even in subdirs
Signed-off-by: Sebastien Varrette <Sebastien.Varrette@uni.lu>
9 years ago
Dominik Ritter e9da3d5146 Fix joining segments 9 years ago
Ben Hilburn 4bbff138fb Merging @theminor's changes from PR #204 9 years ago
Ben Hilburn 4897c795fa Merge branch 'master' into next 9 years ago
Ben Hilburn 25bf6d60a0 Merge pull request #181 from dritter/split_up_ram_segment
Split up `ram` segment into `ram` and `swap`.
9 years ago
theminor 3b7dfff7ea Add VCS_WORKDIR_HALF_DIRTY vrbl for unstaged files 9 years ago
Dominik Ritter 15665a4f95 Joining conditional segments now work as expected. If between the last
printed segment is a full but conditional segment, the joined one gets
promoted.
This fixes #186
9 years ago
Dominik Ritter ed28b8d26f Use explicit word splitting. No need to set SH_WORD_SPLIT 9 years ago
Dominik Ritter 6763826c4e More space for the Beanstalk-Icon. 9 years ago
James Bowman af119c9406 Adding command prompt for AWS Elastic Beanstalk environment name. 9 years ago
Dominik Ritter 6aadf76397 Split up `ram` segment into `ram` and `swap`. 9 years ago
rjorgenson f1486620e7 added space to end of RVM icon 9 years ago
Kayant cf921fb90c Add sub folder icon when in home subdirectories
Big thanks to @dritter for guidance, @rjorgenson for great explanation.
And @bhilburn for further guidance and encouragement.
See http://i.imgur.com/2Vncypo.png for a presentation of how it looks.
9 years ago
MrTuxHdb a97fa07cc5 [FIX] RUBY_ICON should be $'\UF219' 9 years ago
Dominik Ritter b9cb32f4a7 Removed whitespace before git tag. 9 years ago
Dominik Ritter ac4502ca1f Added the "visual identifier" concept to the `vcs` segment. 9 years ago
Dominik Ritter 46aafc797a Some icons are visual identifiers now, so they shouldn't control the
margin to the text (which is whitespace).
9 years ago
Dominik Ritter 7151036198 Removed unecessary variable. 9 years ago
Dominik Ritter a09a4b8dd5 Added a folder icon for "awesome-fontconfig" mode. Thx to @tritlo 9 years ago