Skip to content

Commit

Permalink
zsh-powerlevel10k: 1.7.0 -> 1.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt committed Jun 1, 2020
1 parent 43e6a42 commit 5cb2c69
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
7 changes: 3 additions & 4 deletions pkgs/shells/zsh/zsh-powerlevel10k/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@

stdenv.mkDerivation rec {
pname = "powerlevel10k";
version = "1.7.0";
version = "1.11.0";

src = fetchFromGitHub {
owner = "romkatv";
repo = "powerlevel10k";
rev = "v${version}";
sha256 = "04j37qmgzj62gixysj3di9dccfib4hx1c4ld9kcms3ag7k403bgj";
sha256 = "1z6abvp642n40biya88n86ff1wiry00dlwawqwxp7q5ds55jhbv1";
};

patches = [
Expand All @@ -25,8 +25,7 @@ stdenv.mkDerivation rec {
install -D powerlevel10k.zsh-theme --target-directory=$out/share/zsh-powerlevel10k
install -D config/* --target-directory=$out/share/zsh-powerlevel10k/config
install -D internal/* --target-directory=$out/share/zsh-powerlevel10k/internal
rm -r gitstatus/bin
install -D gitstatus/* --target-directory=$out/share/zsh-powerlevel10k/gitstatus
cp -R gitstatus $out/share/zsh-powerlevel10k/gitstatus
'';

meta = {
Expand Down
5 changes: 2 additions & 3 deletions pkgs/shells/zsh/zsh-powerlevel10k/gitstatusd.patch
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
diff --git a/gitstatus/gitstatus.plugin.zsh b/gitstatus/gitstatus.plugin.zsh
index 46d0b3c..b082e24 100644
index b469072..eb1e3be 100644
--- a/gitstatus/gitstatus.plugin.zsh
+++ b/gitstatus/gitstatus.plugin.zsh
@@ -53,6 +53,8 @@
@@ -44,6 +44,8 @@

[[ -o 'interactive' ]] || 'return'

Expand All @@ -11,4 +11,3 @@ index 46d0b3c..b082e24 100644
# Temporarily change options.
'builtin' 'local' '-a' '_gitstatus_opts'
[[ ! -o 'aliases' ]] || _gitstatus_opts+=('aliases')

0 comments on commit 5cb2c69

Please sign in to comment.