Dominik Ritter
e35f7a0c48
Merge branch 'fix_colors' into prepare_066
6 years ago
Dominik Ritter
345cf87b8f
Add missing colors to fix color comparison
...
Added magenta and cyan that were only present with their alternative
names (fuchsia and aqua). See https://en.wikipedia.org/wiki/X11_color_names#Clashes_between_web_and_X11_colors_in_the_CSS_color_scheme
7 years ago
Ythildir
5ce384fb31
Test more readable
7 years ago
Ythildir
e39e024e74
Resolve #918 Transparent background
...
Now function getColorCode consider value 'none' like a good value.
When it's use to set background the segment become transparent
7 years ago
Ben Klein
45b0d68ec4
Replace `typeset` check with shellvar flag
...
More performance without changing functionality.
7 years ago
blackb1rd
592e765a95
Fix os detection for MSYS2
7 years ago
Dominik Ritter
595bdb4fa3
Use cog glyph on all modes
7 years ago
Dominik Ritter
a2d8cccd09
Add a Laravel version segment
7 years ago
Dominik Ritter
5eedb2586b
Merge remote-tracking branch 'Maxattax97/next' into staging_065
7 years ago
Dominik Ritter
47e2aed4b2
Merge remote-tracking branch 'sambadevi/feature/etc-option-in-dir-segment' into staging_065
7 years ago
Dominik Ritter
e763fa14b0
Merge remote-tracking branch 'chhschou/master' into staging_065
...
Conflicts were:
- powerlevel9k.zsh-theme and test/segments/rust_version.spec:
rust_version Segment changed (#641 ) on master and colors got
names (#703 ) on next.
7 years ago
Dominik Ritter
4c2f58bdbd
Merge remote-tracking branch 'VanRoy/master' into staging_065
...
Conflicts were:
- functions/icons.zsh: The Java Segment was added on master, but on next
were added various Segments with icons in the meantime.
- powerlevel9k.zsh-theme: Java Segment was added on master, Dropbox
Segment was added on next.
7 years ago
Dominik Ritter
154e923033
Merge remote-tracking branch 'floor114/next' into staging_065
7 years ago
Dominik Ritter
45ae153700
Merge remote-tracking branch 'guicassolato/fix-wrapper-slowness' into staging_065
...
Conflicts were:
- functions/vcs.zsh: Two commits avoided wrapper behaviour. #685
in grep, #797 in git.
7 years ago
Max O'Cull
fcea56be5c
Fix Linux distribution detection
7 years ago
Tim Otlik
557f5993ea
add cog symbol to dir segment if folder is /etc*
7 years ago
Ben Hilburn
7234d52ebd
Merge pull request #791 from dritter/local_variables
...
Make variables local
7 years ago
Taras Shpachenko
111d152d48
Add vcs branch name truncating.
7 years ago
Guilherme Cassolato
1aee125470
Fixes wrapper slowness in vcs segment
7 years ago
Dominik Ritter
9a895bc7e4
Make variables local
7 years ago
Julien Roy
b260adbc1b
Added a segment that shows the Java version.
7 years ago
Tim Otlik
213ed57f68
add compatible to the list of fontconfigs
7 years ago
Tim Otlik
a3025cbebc
fixed missing icons for other fontconfigs
7 years ago
Tim Otlik
7a8fcf98c1
update icons for nerd-fonts 2.0.0
7 years ago
Ben Hilburn
99f142de36
**LARGE MERGE THAT TOUCHES LOTS OF THINGS.**
...
From this point until the next tagged release, `next` will be in a state
of heavy flux as we make some significant and invasive changes.
7 years ago
Ben Hilburn
cfbbd213cb
Merge pull request #729 from Mikewl/usersudo
...
Added sudo state to prompt_user
7 years ago
Ben Hilburn
6529b4f2a7
Merge pull request #758 from sambadevi/next
...
Add icons for more distros in os_icon segment
7 years ago
Ben Hilburn
281a3aa3a4
Merge branch 'dir_strategies' of https://github.com/onaforeignshore/powerlevel9k into onaforeignshore-dir_strategies
7 years ago
Christo Kotze
2bd3e0f67e
Fixed silly coding error
...
Did `local 3=...` instead of `3=...`
7 years ago
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//"~\/"/}})
```
7 years ago
Christo Kotze
2214124327
Updated truncatePath()
...
Added variable `delim_len` with test when delim=""
7 years ago
Christo Kotze
d31ac26caa
Another Travis test
7 years ago
Christo Kotze
f10a7daab0
Another change to test Travis
7 years ago
Christo Kotze
04726d21ef
Changed path splitting to test Travis
7 years ago
Christo Kotze
4996e955e0
Updated path splitting line
...
Works in the console, but Travis doesn't like it.
7 years ago
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.
7 years ago
Tim Otlik
80176c263f
fix $OS variable for battery segment
7 years ago
Tim Otlik
ba0e940af3
arch icon was missing
7 years ago
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 .
8 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
8 years ago
Christian Höltje
8626d07d60
Merge remote-tracking branch 'origin/master' into pr/merge-master
8 years ago
Dominik Ritter
a234636982
Fix empty delimiter
...
Even if the delimiter is empty, the min length should be 1.
This fixes #558
8 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