summaryrefslogtreecommitdiff
path: root/functions
Commit message (Collapse)AuthorAgeFilesLines
* Update for TravisChristo Kotze2018-02-221-1/+2
| | | | | | | | | | | | | | | While zsh accepts the following code: ``` local paths=(${(s:/:)${1//"~\/"/}}) ``` Travis fails unless it is ``` local paths=$1 paths=(${(s:/:)${paths//"~\/"/}}) ```
* Updated truncatePath()Christo Kotze2018-02-221-6/+7
| | | | Added variable `delim_len` with test when delim=""
* Another Travis testChristo Kotze2018-02-201-1/+2
|
* Another change to test TravisChristo Kotze2018-02-191-3/+3
|
* Changed path splitting to test TravisChristo Kotze2018-02-191-3/+3
|
* Updated path splitting lineChristo Kotze2018-02-191-1/+1
| | | | Works in the console, but Travis doesn't like it.
* Added truncatePath to utilities.zshChristo Kotze2018-02-191-0/+75
| | | | | | | | | | | | 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.
* Merge pull request #681 from Stazer/tcolor-warningBen Hilburn2018-01-311-0/+4
|\ | | | | Added flag to ignore checking the term colors & lang settings
| * renamed POWERLEVEL9K_CHECK_TERM_COLORS to POWERLEVEL9K_IGNORE_TERM_COLORSJustus Flerlage2018-01-071-1/+1
| |
| * Added flag for checking the term colorsJustus Flerlage2018-01-071-0/+4
| |
* | Merge pull request #717 from onaforeignshore/date_segmentBen Hilburn2018-01-241-0/+10
|\ \ | | | | | | Added `prompt_date` and fixed segment comments
| * | Updates to `functions/icons.zsh`Christo Kotze2018-01-051-0/+10
| | | | | | | | | | | | Added date and time icons
* | | getColor() must always print resultChristian Höltje2018-01-201-1/+1
| |/ |/| | | | | This was causing colors specified as numbers to not be shown.
* | colors checking optimized and added tput for check the colorsCharles Peterson2017-12-311-0/+16
| | | | | | | | moved to colors functions, because it makes sense.
* | fix for colors since the terminals so not always render named colors when ↵Charles Peterson2017-12-161-267/+319
|/ | | | using parameter expansion.
* Merge branch 'master' into nextBen Hilburn2017-12-141-4/+4
|\
| * Disable alias of grepKentaro Hayashi2017-11-271-4/+4
| | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #688 from Stealthii/feature/stash-vcsBen Hilburn2017-12-051-0/+2
|\ \ | | | | | | Add Stash naming support for Bitbucket Server
| * | Add Stash naming support for Bitbucket ServerDaniel Porter2017-11-301-0/+2
| |/
* | Merge pull request #684 from Artistan/color_namesBen Hilburn2017-12-051-9/+258
|\ \ | | | | | | Use color names, plus fixes
| * | color names and fixesCharles Peterson2017-11-251-9/+258
| |/ | | | | | | | | | | | | - 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
* | Merge branch 'master' into nextBen Hilburn2017-10-071-4/+4
|\|
| * Adding a space after VCS_BRANCH_ICON by defaultBen Hilburn2017-10-071-3/+3
| |
| * Corrected awesome-fontconfig lock iconSimon Pettersson2017-10-051-1/+1
| |
* | Updating Dropbox icon for non-awesome fontsBen Hilburn2017-10-071-1/+4
| |
* | Added dropbox segmentTimothy Earley2017-10-011-0/+4
| |
* | Slight tweaks to the awesome-mapped-fontconfig error message.Ben Hilburn2017-08-271-1/+4
| |
* | Merge branch 'awesome-font-mapping' of ↵Ben Hilburn2017-08-271-0/+71
|\ \ | |/ |/| | | https://github.com/pfrybar/powerlevel9k into pfrybar-awesome-font-mapping
| * similar to PR #472, fixing for awesome font mappingsPaul Frybarger2017-08-131-0/+71
| |
* | Merge branch 'master' into nextBen Hilburn2017-08-122-7/+7
|\|
| * Update OK_ICON weight to march FAIL_ICONGiorgi Gzirishvili2017-07-281-3/+3
| | | | | | Fixes #576.
| * Fix reference for python icon.Diego Rabatone Oliveira2017-07-221-2/+2
| | | | | | | | | | | | | | 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
| * Fix empty delimiterDominik Ritter2017-07-121-1/+1
| | | | | | | | | | Even if the delimiter is empty, the min length should be 1. This fixes #558
* | Merge remote-tracking branch 'origin/master' into pr/merge-masterChristian Höltje2017-07-131-0/+4
|\|
| * add Gopher icon to go_version segmentJason Hutchinson2017-05-261-0/+4
| |
* | Merge branch 'next' into nextBen Hilburn2017-06-021-0/+4
|\ \
| * | use p9k print_icon for kubecontext segmentJason Hutchinson2017-05-261-0/+4
| | |
* | | add vpn ip to promptDavid Sabatie2017-05-311-6/+10
|/ /
* | Incorporating @dritter's feedback from #524.Ben Hilburn2017-05-231-4/+4
| |
* | newline: support PROMPT_ON_NEWLINEChristian Höltje2017-05-131-4/+8
| | | | | | | | | | | | | | The newline segment will now show ├─ when using `POWERLEVEL9K_PROMPT_ON_NEWLINE` Note: This can be overridden via `POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX`
* | Icons for Windows/Cygwin + Refixes 32-bit supportguixxx2017-05-072-0/+8
|/
* Merge branch 'master' into nextBen Hilburn2017-04-191-1/+1
|\
| * Changing name of nerdfont option per #458Ben Hilburn2017-04-041-1/+1
| |
* | Converting timer start time to hexBen Hilburn2017-04-191-1/+1
| |
* | Improve logicguixxx2017-04-191-9/+8
| |
* | Adds Android icon/battery plugin supportguixxx2017-04-192-0/+13
|/ | | | Plus fixes bhilburn/powerlevel9k#479, which was causing integer overflow on 32-bit CPUs
* Merge pull request #446 from dritter/fix_442Ben Hilburn2017-03-211-0/+8
|\ | | | | Protect special characters in various modes
| * Add default locale to protect the special charactersDominik Ritter2017-03-181-0/+8
| |
* | Merge pull request #449 from dritter/ordered_icons_listBen Hilburn2017-03-211-2/+14
|\ \ | | | | | | Sort the output of `get_icon_names` alphabetically
| * | Improve get_icon_names functionDominik Ritter2017-03-191-1/+12
| | | | | | | | | | | | | | | | | | | | | 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.