New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zsh-powerlevel10k: init at unstable-2019-12-19 #76386
Conversation
9616ce1
to
02d12ea
Compare
Poked the upstream about doing releases. romkatv/powerlevel10k#392 |
lgtm, but I don't have commit bits so we'll need to wait for someone else to checkout. |
{ stdenv, fetchFromGitHub, substituteAll, pkgs }: | ||
|
||
# To make use of this derivation, use | ||
# `programs.zsh.promptInit = "source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme";` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nixos/modules/programs/zsh/oh-my-zsh.nix
sets programs.zsh.interactiveShellInit
instead of programs.zsh.promptInit
- I wonder what's the difference?
Also, what about adding a small NixOS module?
I tried to enable this as suggested in the comment, but I get a big fat warning gitstatusd failed to initialize:
Unfortunately, when running that command, I don't get any output. |
@mweinelt have you been able to reproduce this? |
Also bumps the interally used version of libgit2.
02d12ea
to
68106d9
Compare
@flokli Yes, I have. It works like this for me, can you confirm? Edit: Nope still broken. |
Yes, now works for me too. Thanks for the fix! |
If you find some time, still looking forward for a NixOS module option to trigger this :-) |
Motivation for this change
Powerlevel10k is a faster implementation of the popular powerlevel9k theme for zsh with fast git integration using gitstatusd, a custom implementation on top of it's own libgit2 fork. The latter two packages are already packaged and just needed bumping to work with the latest powerlevel10k theme.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @mmlb (gitstatus maintainer)
cc @flokli @andir @maralorn (p10k users)