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: Create package zsh-powerlevel9k #31795
Conversation
@@ -89,8 +89,8 @@ in | |||
description = '' | |||
Enable zsh-autosuggestions | |||
''; | |||
type = types.bool; |
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.
please make this a separate commit.
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.
Thanks for the review, Mic92. I've just done that.
|
||
stdenv.mkDerivation rec { | ||
name = "powerlevel9k-${version}"; | ||
version = "master"; |
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.
We use the following scheme for projects without releases:
- version = "master";
+ version = "2017-11-10";
To use, add this option to your configuration.nix: `programs.zsh.promptInit = "source ${pkgs.zsh-powerlevel9k}/share/zsh-powerlevel9k/powerlevel9k.zsh-theme";`
Simply a small inconsistency I picked up when reading that file.
a544b5b
to
c62f9fc
Compare
I merged both with commit messages adapted to our naming conventions. |
To use, add this option to your configuration.nix:
programs.zsh.promptInit = "source ${pkgs.zsh-powerlevel9k}/share/zsh-powerlevel9k/powerlevel9k.zsh-theme";
Motivation for this change
I want to be able to use the powerlevel9k prompt without all the bloat of oh-my-zsh or other
Things done
Created package zsh-powerlevel9k that can be enabled by overriding the zsh.promptInit variable
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)