Commit Graph

918 Commits (fdb0bb6af70c0ee70454fe456b4b40a9bba15118)

Author SHA1 Message Date
romkatv 65065ab658 add POWERLEVEL9K_ICON_PADDING; the only value that has effect is "none" 5 years ago
romkatv cf8f7f49fe add P9K_OS_ICON 5 years ago
Roman Perepelitsa c3ddca85ff
notes 5 years ago
Roman Perepelitsa 608872f117
notes 5 years ago
romkatv fd283aa9e5 comment 5 years ago
romkatv ca8ec45f7a display only the version (without name) in `package` by default 5 years ago
romkatv db1e12bce3 add `package` prompt segment 5 years ago
romkatv 95008fc871 notes 5 years ago
romkatv 2db72dad1f speed up detect_virt segment by 50% (now takes 2 ms instead of 3 ms) 5 years ago
romkatv a082a04624 notes 5 years ago
romkatv 541a167b43 mention that gitstatusd needs to be rebuilt after updating p10k 5 years ago
romkatv 42ccb64c61 better instructions for building gistatusd; see https://github.com/romkatv/gitstatus/issues/110 5 years ago
romkatv 853253434d fix a typo: s/arm7l/armv7l/ 5 years ago
romkatv 7306efb94b s/terraform/tf/ in ascii icons 5 years ago
romkatv 6ccf26ff8e don't use href when the terminal is known to print garbage on it 5 years ago
romkatv a2af168eb4 terminate links with ST instead of BEL
See https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda.

  The sequence is terminated with ST (string terminator) which is
  typically ESC \. (Although ST is the standard sequence according to
  ECMA-48 §8.3.89, often the BEL (\a) character is used instead. This
  nonstandard choice originates from XTerm, and was later adopted by
  probably all terminal emulators to terminate OSC sequences. Nevertheless,
  we encourage the use of the standard ST.)
5 years ago
romkatv e7d167bdb5 formatting 5 years ago
romkatv 38d717db26 several fixes for #550
- remove $fg where it has no effect (minor optimization)
- add $style after $subsep if the latter has embedded styling (bug fix)
- bump version to invalidated cached styles
5 years ago
Adrian Haasler García 366fc52200
Change subseparator color to match with segment 5 years ago
romkatv dfa377b1b9 more robust detection of clear and reset commands; see #545 5 years ago
romkatv 3f470b2d7d more robust detection of clear and reset commands; see #545 5 years ago
romkatv e302a9693e bug fix: restore special handling of `clear` and `reset`; see #545 5 years ago
romkatv 33a72faf5f if P9K_TTY is new, flip it to old only when precmd is called not from zle 5 years ago
romkatv d4854bfb30 don't print an empty line after `clear`, `reset` and `clear-screen`; see #545 5 years ago
romkatv 0205c01ba9 change the semantics of POWERLEVEL9K_DIR_OMIT_FIRST_CHARACTER to something useful
If POWERLEVEL9K_DIR_OMIT_FIRST_CHARACTER is set to true, it'll remove the leading
slash from the current directory if it's absolute. It will no longer do anything
if the directory is not absolute or if the leading character has been removed
or changed by the shortener.
5 years ago
romkatv cff3575c15 improve *env segments
- add POWERLEVEL9K_NODENV_SOURCES (fixes #542)
- handle *_DIR parameters the same way as upstream does it (fixes #541)
- add POWERLEVEL9K_*ENV_SHOW_SYSTEM parameter to enable hiding of "system"
5 years ago
romkatv 18701f4e49 add haskell_stack prompt segment (#535) 5 years ago
romkatv 1c5358e0d5 fix visual mode indicator on zsh >= 5.3 and disable completely on < 5.3; fixes #536 5 years ago
romkatv 769e47a5cd remove done items from notes 5 years ago
romkatv 155485a996 add POWERLEVEL9K_JAVA_VERSION_FULL parameter
The file pattern is based on https://github.com/starship/starship/pull/966.
5 years ago
romkatv b207dd8e99 remove done items from notes 5 years ago
romkatv 526b1b543b add precommands: chronic and ifne 5 years ago
romkatv b0c051cdfd save and restore screen in the wizard 5 years ago
romkatv cb0b91fc92 add "env" to the default value of POWERLEVEL9K_VIRTUALENV_GENERIC_NAMES; see #532 5 years ago
romkatv 56060f0bc1 don't assume that zero size of a file in /sys actually means it's empty 5 years ago
romkatv bd921485fc add ascii mode to configuration wizard 5 years ago
romkatv be16ab255d s/error/err/ (too verbose) 5 years ago
romkatv d96fbde6c5 don't enable battery segment if there is no battery 5 years ago
romkatv 91023a1d8a wizard: if cannot display powerline glyphs, use flat heads by default and offer to change to blurred 5 years ago
romkatv 0f406f088d use NORDVPN_ICON instead of LOCK_ICON in nordvpn prompt segment 5 years ago
romkatv 47990df0b8 add POWERLEVEL9K_MODE=ascii 5 years ago
romkatv 84cb153746 make p10k.zsh work when there is no UTF-8 locale on the machine 5 years ago
romkatv e84b20901c s/ASDF_GO/ASDF_GOLANG/
Fixes #529.
5 years ago
romkatv cb3f58d21f add 'sleep 3' after changing iTerm2 settings; just trying random shit 5 years ago
romkatv ffbf86903d try to fix font instllation problems on mac 5 years ago
romkatv ff496ab2ba exit with an error when unable to delete old fonts 5 years ago
romkatv ea6607e701 better spelling when there is just one font file 5 years ago
romkatv 5567ab3850 before installing a font, check if it already exists; try to remove if so 5 years ago
romkatv 3077929e18 simplify code a little bit 5 years ago
romkatv e7b036418b notes 5 years ago
romkatv 3870196a65 notes 5 years ago
romkatv 27d018bc20 add POWERLEVEL9K_VPN_IP_SHOW_ALL; see #518 5 years ago
romkatv 4a4c43aa9a don't compute git status if POWERLEVEL9K_VCS_DISABLED_DIR_PATTERN matches 5 years ago
romkatv 7e262fb912 notes 5 years ago
romkatv 1885d15da2 set P9K_IP_TX_RATE and P9K_IP_RX_RATE to empty instead of 0 when unable to get the real values 5 years ago
romkatv 0d8e001f27 bug fixes in the gitstatus fastpath 5 years ago
romkatv 298169f042 Merge branch 'master' into zsh-api 5 years ago
romkatv 7c0cd05e9a if there is only one vcs segment and its expansion is not empty, assemble prompt while gitstatus is processing our request 5 years ago
romkatv a2689e757d don't reset prompt when precmd is called from zle 5 years ago
romkatv 73a59bee65 always let gitstatus infer GITSTATUS_DAEMON and GITSTATUS_NUM_THREADS; fix android-arm7l error message 5 years ago
romkatv 0105d760d6 bug fix: check _GITSTATUS_STATE_POWERLEVEL9K instead of the old GITSTATUS_DAEMON_PID_POWERLEVEL9K 5 years ago
romkatv d70cc3a24b backport changes to 5.1: procsubstpid doesn't exist there 5 years ago
romkatv 7aab4d7ac5 notes 5 years ago
romkatv 491e630bcb don't send worker pid -- master can get it on its own 5 years ago
romkatv 0a28653355 optimize worker i/o 5 years ago
romkatv 0c606eb9e9 use the same cygwin binary on all versions of windows 5 years ago
romkatv ed16e4e481 save and restore all VCS_STATUS params 5 years ago
romkatv cab4489678 notes 5 years ago
romkatv 8cf22480c0 add taskwarrior prompt segment; see #511 5 years ago
romkatv 4fdd02db26 don't call zstat without arguments 5 years ago
romkatv 891090acc4 make locale workarounds more robust 5 years ago
romkatv 9ce0a0551e attempt to make locale workarounds more robust 5 years ago
romkatv 8a845210b5 notes 5 years ago
romkatv 060103f63f recognize void linux; use the generic linux icon for now; fixes #509 5 years ago
romkatv dc470dba4b recognize a few more patterns of "source .p10k.zsh" 5 years ago
romkatv a6a2d9a481 stop loading icons.zsh lazily; print boundaries in get_icon_names 5 years ago
romkatv d9da275e9e more robust zcompile 5 years ago
romkatv e5f2d39a16 drop cache when path to uname changes
Fixes https://github.com/romkatv/gitstatus/issues/102.
5 years ago
romkatv 31757b3f6c punctuation 5 years ago
romkatv a1c964b49d bug fix: don't chmod inexisting file 5 years ago
romkatv e750c26266 don't crap out when using more than one prompt_char 5 years ago
romkatv f02997a8f0 notes 5 years ago
romkatv 7cbaed976d unset WIDGET when calling p10k-on-post-widget from _p9k_on_expand 5 years ago
romkatv 7c1cc0c487 call p10k-on-pre-prompt on every precmd; call widget hooks right after when in zle 5 years ago
romkatv 3fe66ba74a Revert "call _p9k_on_expand and subsequenty p10k-on-pre-prompt on every precmd, even when called from zle"
This reverts commit a6363401bb.
5 years ago
romkatv a6363401bb call _p9k_on_expand and subsequenty p10k-on-pre-prompt on every precmd, even when called from zle 5 years ago
romkatv ac39345713 notes 5 years ago
romkatv 1a9f317650 wizard: gracefully handle non-writable ~/.zshrc 5 years ago
romkatv 1061d1c516 Merge branch 'readonly-fix' of https://github.com/Brettm12345/powerlevel10k into Brettm12345-readonly-fix 5 years ago
brettm12345 cc796d9cda
Oop 5 years ago
brettm12345 fdef2c08d4
Remove extra line 5 years ago
brettm12345 ea95789078
Return an error 5 years ago
brettm12345 9017e5815c
Remove the extra variable and inline the test 5 years ago
brettm12345 ae4650b40d
Use `[[ ]]` instead of `test` 5 years ago
brettm12345 cb6351436a
Change variable name and fix warning 5 years ago
brettm12345 9cd3bfdea1
Warn user if they try to modify their `.zshrc` 5 years ago
brettm12345 fe27e57de6
Added the `__p9k_readonly_zsh` variable 5 years ago
romkatv 944ea827d2 notes 5 years ago
romkatv efa7b4a51d notes 5 years ago
romkatv a3282100f0 bug fix: truncate_to_last didn't behave like %1~ in / and /foo 5 years ago