Commit Graph

161 Commits (3674af1cd9788b144a39358913f95979762dbb00)

Author SHA1 Message Date
Christo Kotze 2bd3e0f67e Fixed silly coding error
Did `local 3=...` instead of `3=...`
Christo Kotze ec0f7bdacb Update for Travis
While zsh accepts the following code:

```
  local paths=(${(s:/:)${1//"~\/"/}})
```

Travis fails unless it is

```
  local paths=$1
  paths=(${(s:/:)${paths//"~\/"/}})
```
Christo Kotze 2214124327 Updated truncatePath()
Added variable `delim_len` with test when delim=""
Christo Kotze d31ac26caa Another Travis test
Christo Kotze f10a7daab0 Another change to test Travis
Christo Kotze 04726d21ef Changed path splitting to test Travis
Christo Kotze 4996e955e0 Updated path splitting line
Works in the console, but Travis doesn't like it.
Christo Kotze 21b7749075 Added truncatePath to utilities.zsh
Added `function truncatePath()` to utilities.zsh to take care of
truncation. This is pure zsh code, without calls to `sed`. Parameters
are:
   * $1 Path: string - the directory path to be truncated
   * $2 Length: integer - length to truncate to
   * $3 Delimiter: string - the delimiter to use
   * $4 From: string - "right" | "middle". If omited, assumes right.

Cleaned up code to use the new function instead.
Ben Hilburn fd3d234354
Merge pull request from Stazer/tcolor-warning
Added flag to ignore checking the term colors & lang settings
Ben Hilburn 8090d13962
Merge pull request from onaforeignshore/date_segment
Added `prompt_date` and fixed segment comments
Christian Höltje 87988cea26 getColor() must always print result
This was causing colors specified as numbers to not be shown.
Justus Flerlage 3a605c7f62 renamed POWERLEVEL9K_CHECK_TERM_COLORS to POWERLEVEL9K_IGNORE_TERM_COLORS
Justus Flerlage 4db2eb0e16 Added flag for checking the term colors
Christo Kotze 2680eec848 Updates to `functions/icons.zsh`
Added date and time icons
Charles Peterson 0c943ac6d5 colors checking optimized and added tput for check the colors
moved to colors functions, because it makes sense.
Charles Peterson 4d18fdc6e9 fix for colors since the terminals so not always render named colors when using parameter expansion.
Ben Hilburn ea05b4ebe6 Merge branch 'master' into next
Ben Hilburn 3fe9b83ebb
Merge pull request from Stealthii/feature/stash-vcs
Add Stash naming support for Bitbucket Server
Ben Hilburn 3d79ca1adc
Merge pull request from Artistan/color_names
Use color names, plus fixes
Daniel Porter cbc7199dc4 Add Stash naming support for Bitbucket Server
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.
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
Ben Hilburn 2a7f3966c2 Merge branch 'master' into next
Ben Hilburn 01b554cda8 Adding a space after VCS_BRANCH_ICON by default
Ben Hilburn b87c3b85ac Updating Dropbox icon for non-awesome fonts
Simon Pettersson 36b833aae3 Corrected awesome-fontconfig lock icon
Timothy Earley 81cbd65142 Added dropbox segment
Ben Hilburn 50f0a94642 Slight tweaks to the awesome-mapped-fontconfig error message.
Ben Hilburn 47e32f913d Merge branch 'awesome-font-mapping' of https://github.com/pfrybar/powerlevel9k into pfrybar-awesome-font-mapping
Paul Frybarger 0f58a4950c similar to PR , fixing for awesome font mappings
Ben Hilburn 02332d5962 Merge branch 'master' into next
Giorgi Gzirishvili 1ded7c2c90 Update OK_ICON weight to march FAIL_ICON
Fixes .
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
Christian Höltje 8626d07d60 Merge remote-tracking branch 'origin/master' into pr/merge-master
Dominik Ritter a234636982 Fix empty delimiter
Even if the delimiter is empty, the min length should be 1.
This fixes 
Ben Hilburn e09d4ae926 Merge branch 'next' into next
David Sabatie 5eec2e28d0 add vpn ip to prompt
Jason Hutchinson c11c3a55de use p9k print_icon for kubecontext segment
Jason Hutchinson 99c9ba9367 add Gopher icon to go_version segment
Ben Hilburn e844fc4c72 Incorporating @dritter's feedback from .
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`
guixxx e6c37b6bc5 Icons for Windows/Cygwin + Refixes 32-bit support
Ben Hilburn c70bb0d4ee Merge branch 'master' into next
Ben Hilburn 54a444535a Converting timer start time to hex
guixxx 421f506bf8 Improve logic
guixxx c403ad6cd7 Adds Android icon/battery plugin support
Plus fixes , which was causing integer overflow on 32-bit CPUs
Ben Hilburn 67ef7892de Changing name of nerdfont option per
Ben Hilburn 0132c5dc35 Merge pull request from dritter/fix_442
Protect special characters in various modes
Ben Hilburn 33b41ced80 Merge pull request from dritter/ordered_icons_list
Sort the output of `get_icon_names` alphabetically
Ben Hilburn dca0f7f917 nerdfont config: changing order, removing duplicates