zsh-powerlevel10k: 1.7.0 -> 1.11.0

This commit is contained in:
Martin Weinelt 2020-06-01 01:42:14 +02:00
parent 43e6a42da8
commit 5cb2c69859
No known key found for this signature in database
GPG key ID: BD4AA0528F63F17E
2 changed files with 5 additions and 7 deletions

View file

@ -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 = [
@ -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 = {

View file

@ -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'
@ -11,4 +11,3 @@ index 46d0b3c..b082e24 100644
# Temporarily change options.
'builtin' 'local' '-a' '_gitstatus_opts'
[[ ! -o 'aliases' ]] || _gitstatus_opts+=('aliases')