From 84f08a3a1c1ab302806665a9a61fb3200e3d7c5c Mon Sep 17 00:00:00 2001 From: LavaDesu Date: Thu, 15 Jul 2021 14:59:23 +0700 Subject: [PATCH] fix zsh plugins --- flake.lock | 70 +++++++++++++++++++++++------------------------ flake.nix | 4 +-- users/rin/zsh.nix | 4 +-- 3 files changed, 39 insertions(+), 39 deletions(-) diff --git a/flake.lock b/flake.lock index 53c62fb..e2308a1 100644 --- a/flake.lock +++ b/flake.lock @@ -1,5 +1,21 @@ { "nodes": { + "fast-syntax-highlighting": { + "flake": false, + "locked": { + "lastModified": 1621022231, + "narHash": "sha256-rHdOnA0Y/i/ISDlriGrGDXr5rD2nZ4T7iuG7PFUVIFQ=", + "owner": "zdharma", + "repo": "fast-syntax-highlighting", + "rev": "817916dfa907d179f0d46d8de355e883cf67bd97", + "type": "github" + }, + "original": { + "owner": "zdharma", + "repo": "fast-syntax-highlighting", + "type": "github" + } + }, "flake-compat": { "flake": false, "locked": { @@ -111,16 +127,32 @@ "type": "github" } }, + "pure": { + "flake": false, + "locked": { + "lastModified": 1626016475, + "narHash": "sha256-6j6QZtsA5ZgfXthYjXRrND2zAJwZx0/6WRI1f3c+2mE=", + "owner": "sindresorhus", + "repo": "pure", + "rev": "f4c6d79ba2417d63c8008b6acce628631fd462ec", + "type": "github" + }, + "original": { + "owner": "sindresorhus", + "repo": "pure", + "type": "github" + } + }, "root": { "inputs": { + "fast-syntax-highlighting": "fast-syntax-highlighting", "home-manager": "home-manager", "neovim-nightly": "neovim-nightly", "nixpkgs": "nixpkgs", + "pure": "pure", "secrets": "secrets", "zsh-abbr": "zsh-abbr", - "zsh-fast-syntax-highlighting": "zsh-fast-syntax-highlighting", - "zsh-history-substring-search": "zsh-history-substring-search", - "zsh-pure": "zsh-pure" + "zsh-history-substring-search": "zsh-history-substring-search" } }, "secrets": { @@ -154,22 +186,6 @@ "type": "github" } }, - "zsh-fast-syntax-highlighting": { - "flake": false, - "locked": { - "lastModified": 1621022231, - "narHash": "sha256-rHdOnA0Y/i/ISDlriGrGDXr5rD2nZ4T7iuG7PFUVIFQ=", - "owner": "zdharma", - "repo": "fast-syntax-highlighting", - "rev": "817916dfa907d179f0d46d8de355e883cf67bd97", - "type": "github" - }, - "original": { - "owner": "zdharma", - "repo": "fast-syntax-highlighting", - "type": "github" - } - }, "zsh-history-substring-search": { "flake": false, "locked": { @@ -185,22 +201,6 @@ "repo": "zsh-history-substring-search", "type": "github" } - }, - "zsh-pure": { - "flake": false, - "locked": { - "lastModified": 1626016475, - "narHash": "sha256-6j6QZtsA5ZgfXthYjXRrND2zAJwZx0/6WRI1f3c+2mE=", - "owner": "sindresorhus", - "repo": "pure", - "rev": "f4c6d79ba2417d63c8008b6acce628631fd462ec", - "type": "github" - }, - "original": { - "owner": "sindresorhus", - "repo": "pure", - "type": "github" - } } }, "root": "root", diff --git a/flake.nix b/flake.nix index 6372738..a70a80e 100644 --- a/flake.nix +++ b/flake.nix @@ -11,8 +11,8 @@ # zsh plugins zsh-abbr = { url = "github:olets/zsh-abbr"; flake = false; }; zsh-history-substring-search = { url = "github:zsh-users/zsh-history-substring-search"; flake = false; }; - zsh-fast-syntax-highlighting = { url = "github:zdharma/fast-syntax-highlighting"; flake = false; }; - zsh-pure = { url = "github:sindresorhus/pure"; flake = false; }; + fast-syntax-highlighting = { url = "github:zdharma/fast-syntax-highlighting"; flake = false; }; + pure = { url = "github:sindresorhus/pure"; flake = false; }; }; outputs = inputs: with inputs; diff --git a/users/rin/zsh.nix b/users/rin/zsh.nix index 1e22632..996b996 100644 --- a/users/rin/zsh.nix +++ b/users/rin/zsh.nix @@ -148,8 +148,8 @@ in { plugins = builtins.map (e: pluginFromInput e) [ "zsh-abbr" "zsh-history-substring-search" - "zsh-fast-syntax-highlighting" - "zsh-pure" + "fast-syntax-highlighting" + "pure" ]; }; }