Commit Graph

4208 Commits (893e130bd112159a817818af6210094cc12095b1)
 

Author SHA1 Message Date
Alex Jurkiewicz 893e130bd1 Fix POWERLEVEL9K_VIRTUALENV_SHOW_WITH_PYENV=if-different (I think)
We were comparing virtualenv's name to pyenv's version, which would
never be the same.

Now this setting works as intended, although I'm not sure how useful it
is. It's probably more useful to reorder this logic so virtualenv has
precedence.
1 year ago
Alex Jurkiewicz fe9b9f9c3e Fix cleanup of generic virtualenv names 1 year ago
Alex Jurkiewicz 86088963ce Improve function names
Make them a little less ambiguous.
1 year ago
Alex Jurkiewicz 414c330581 fixup! Fix up function return value passing 1 year ago
Alex Jurkiewicz c10e62ad29 Try to cache poetry command 1 year ago
Alex Jurkiewicz db4b650feb cosmetics 1 year ago
Alex Jurkiewicz e162e2a891 Fix up function return value passing
Don't use echo, instead set a variable which the calling function
checks. This is the standard in p10, presumably because it's faster..?
1 year ago
Alex Jurkiewicz a79a934f27 Remove POWERLEVEL9K_VIRTUALENV_ENABLE_POETRY
Added for debugging purposes.
1 year ago
Alex Jurkiewicz e3e5605a61 Add Poetry support to virtualenv
Heavily based on #1994.

Integrate Poetry virtualenv detection into the existing virtualenv
segment. For poetry virtualenvs, use the package name as reported by
`poetry version`.
1 year ago
Alex Jurkiewicz ffc1f175c2 Document some logic in prompt_virtualenv() 1 year ago
Roman Perepelitsa 862440ae11 add an icon for azure to vcs (#2447) 1 year ago
Roman Perepelitsa 873c4ff09c fix the path to powerlevel10k when installing with homebrew (#2429) 1 year ago
Roman Perepelitsa 215b20e087 bump version 1 year ago
Jussi Timperi be4c68fd0a
add Guix System icon (#2424) 1 year ago
Roman Perepelitsa f8595a35bf use powerlevel10k from homebrew/core when installing with brew 1 year ago
Nanda Lopes 011b8469ab
typo: s/.tool-version/.tool-versions/ in all configs 1 year ago
Roman Perepelitsa f04ce05d92 Merge commit 'd8041e4700ace779aaf42e19c3de2d25a14dbae8' 1 year ago
Roman Perepelitsa d8041e4700 Squashed 'gitstatus/' changes from bdaad2e8d..38d35b959
38d35b959 cleanup
7e7b5e807 bash prompt: set PROMPT_COMMAND in a nicer and more robust manner (#403)
7ee9227de Merge branch 'samiam-append_prompt'
198ed58ce Revert "Update README to append to PROMPT_COMMAND"
8b6a229fa Switch to using var assignment for backward compatibility
693f9efa0 Update README to append to PROMPT_COMMAND
a48175ce1 Append to PROMPT_COMMAND to play nice with other prompt programs

git-subtree-dir: gitstatus
git-subtree-split: 38d35b95926e09d07b8cf78edade7cee7a9a1dcf
1 year ago
Roman Perepelitsa 69d726d9fb Merge commit '9401ed17c0a8c3d1654214a204b8d5b5f7ccf386' 1 year ago
Roman Perepelitsa 9401ed17c0 Squashed 'gitstatus/' changes from abb4f6a52..bdaad2e8d
bdaad2e8d Makefile: remove the explicit check for the existence of $(CXX)
6d32e0272 Merge branch 'criadoperez-fix/makefile'
c0e3c250e improved Makefile

git-subtree-dir: gitstatus
git-subtree-split: bdaad2e8d0e6e2f9928e067c85de8096b87e21fa
1 year ago
Roman Perepelitsa 2d9c1f271b Merge commit '22cb2f79ddb89a368dd823e815fa1b0587ff1b6a' 1 year ago
Roman Perepelitsa 22cb2f79dd Squashed 'gitstatus/' changes from 4b47ca047..abb4f6a52
abb4f6a52 fix typos in docs and comments
958ae4e6d docs: explicitly mention that core.fsmonitor was disable in git benchmarks (#370)

git-subtree-dir: gitstatus
git-subtree-split: abb4f6a5225d12f51ffd8196060804b0c770482e
1 year ago
Alejandro Criado-Pérez 717f9a1881
fix typos in docs and comments 1 year ago
Roman Perepelitsa f851f41fc1 remove MULTIBYTE requirement from the configuration wizard (#2397) 1 year ago
Roman Perepelitsa 9bb15e9ffb docs: rephrase "Git status looks incorrect" section 1 year ago
Roman Perepelitsa ef401ad02a Merge branch 'fzakaria-skip-hash' 1 year ago
Farid Zakaria a8fa0e2a1b Add documentation explaining lack of support for skipHash
libgit2 does not support skipHash which causes the prompt to be
incorrect for repos that have it toggled.

Add the documentation for this gap.

fixes #2387
1 year ago
Roman Perepelitsa 68104494a7 bump version + cleanup (#2391) 1 year ago
Roman Perepelitsa baf03bf48e Merge branch 'mgkurtz-mgk/rocky' 1 year ago
Markus Kurtz 367c667de6 Add rocky icon to wizard 1 year ago
Markus Kurtz 12aa3fa3c4 Add rocky icon 1 year ago
Roman Perepelitsa 7e9a79f3f1 new segment: per_directory_history (#2384) 1 year ago
Roman Perepelitsa 1d96f5e066 unquote ID in /etc/os-release (#2388) 1 year ago
Roman Perepelitsa e8aa8cce7f unquote ID in /etc/os-release (#2388) 1 year ago
Roman Perepelitsa 646bae0dd6 docs: Terminus is now called Tabby 1 year ago
Roman Perepelitsa 4cc0ea0081 Merge branch 'hugivar-master' 1 year ago
hugo 2453fd27e2
Update README.md as Terminus is now known as Tabby 1 year ago
Roman Perepelitsa 932954a8b1 do not display an indicator when a git branch is up to date with a remote
https://github.com/romkatv/powerlevel10k/issues/2361 requested an indicator for
up to date branches, which was added in
20323d6f8c.

Since then, 3 users complained about the new indicator:

- https://github.com/romkatv/powerlevel10k/issues/2377
- https://github.com/romkatv/powerlevel10k/issues/2380
- https://github.com/romkatv/powerlevel10k/issues/2361#issuecomment-1630731045

On one hand we have one request to add a feature. On the other hand we have
three complaints about the feature's existence. The feature is going away.
1 year ago
Roman Perepelitsa 93d97b7eba better comments 1 year ago
Roman Perepelitsa 078497570f clean up the handling of POWERLEVEL9K_AZURE_CLASSES and put it in all configs (#2379)
This reverts commit 343d4f44e5, reversing
changes made to 4dca4bdfbb.
1 year ago
Roman Perepelitsa 343d4f44e5 Merge branch 'benm-stm-bug/sub-patterns-colors-for-azure' 1 year ago
BEN MANSOUR Mohamed Rafik 0c28fec137 fix pattern coloration for azure defined classes 1 year ago
Roman Perepelitsa 4dca4bdfbb bug fix: honor POWERLEVEL9K_LEFT_SEGMENT_END_SEPARATOR in instant prompt (#2376) 1 year ago
Roman Perepelitsa 20323d6f8c display `=` in git status if up to date with the remote (#2361) 2 years ago
Roman Perepelitsa 017395a266 release v1.19.0 2 years ago
Koen van Zuijlen ab8bac01e2
Add sparkctl to POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND (#2346) 2 years ago
Roman Perepelitsa 360dcd3907 respect XDG_DATA_HOME when looking for the timewarrior data directory (#2344)
The logic for finding the data directory is as follows:

1. Find the root directory:
  1.1 If TIMEWARRIORDB is set, use that.
  1.2 Else if ~/.timewarrior is an existing directory, use that.
  1.3 Else if XDG_DATA_HOME is set, use $XDG_DATA_HOME/timewarrior.
  1.4 Else use ~/.local/share/timewarrior.
2. Append "/data" to the root directory.
2 years ago
Roman Perepelitsa 944f52fc43 move chezmoi_shell in the docs closer to other shell indicator segments 2 years ago
Roman Perepelitsa cc4878aef2 fix chezmoi segment and rename it to chezmoi_shell (#2311)
- Link to the project's homepage rather than its source code.
- Move `chezmoi_shell` next to all the other *shell indicator* segments.
- Use a shade of blue that resembes the color on chezmoi.io.
- Don't go beyond 8 colors in 8-color configs.
- Remove the segment from the *pure* config.
- Fix whitespace padding on `CHEZMOI_ICON`.
- Use the appropriate icon with all fonts (the same as `HOME`).
- Add missing `CHEZMOI_ICON` definitions for "powerline" and "ascii" font modes.
- Remove the redundant literal "chezmoi" content from the segment.
- Fix instant prompt so that the segment is shown only when `$CHEZMOI` is non-empty.
2 years ago
Roman Perepelitsa c775a3ffd5 Merge branch 'Alkindi42-feat/add-chezmoi-prompt' 2 years ago