added zsh-autosuggestions

dev-docs
Moritz Böhme 2021-09-11 13:34:35 +02:00
parent 9f096f5a3d
commit dcdbf88242
3 changed files with 24 additions and 8 deletions

View File

@ -106,7 +106,8 @@
"nur": "nur", "nur": "nur",
"picom": "picom", "picom": "picom",
"unstable": "unstable", "unstable": "unstable",
"utils": "utils" "utils": "utils",
"zsh-autosuggestions": "zsh-autosuggestions"
} }
}, },
"unstable": { "unstable": {
@ -143,6 +144,22 @@
"repo": "flake-utils-plus", "repo": "flake-utils-plus",
"type": "github" "type": "github"
} }
},
"zsh-autosuggestions": {
"flake": false,
"locked": {
"lastModified": 1622844304,
"narHash": "sha256-KLUYpUu4DHRumQZ3w59m9aTW6TBKMCXl2UcKi4uMd7w=",
"owner": "zsh-users",
"repo": "zsh-autosuggestions",
"rev": "a411ef3e0992d4839f0732ebeb9823024afaaaa8",
"type": "github"
},
"original": {
"owner": "zsh-users",
"repo": "zsh-autosuggestions",
"type": "github"
}
} }
}, },
"root": "root", "root": "root",

View File

@ -17,6 +17,10 @@
url = "github:jonaburg/picom"; url = "github:jonaburg/picom";
flake = false; flake = false;
}; };
zsh-autosuggestions = {
url = "github:zsh-users/zsh-autosuggestions";
flake = false;
};
}; };
outputs = inputs@{ self, utils, home-manager, nixpkgs, ...}: outputs = inputs@{ self, utils, home-manager, nixpkgs, ...}:

View File

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, inputs, ... }:
let let
base = (home: { base = (home: {
@ -16,12 +16,7 @@ let
plugins = [ plugins = [
{ {
name = "zsh-autosuggestions"; name = "zsh-autosuggestions";
src = pkgs.fetchFromGitHub { src = inputs.zsh-autosuggestions;
owner = "zsh-users";
repo = "zsh-autosuggestions";
rev = "v0.4.0";
sha256 = "0z6i9wjjklb4lvr7zjhbphibsyx51psv50gm07mbb0kj9058j6kc";
};
} }
{ {
name = "zsh-syntax-highlighting"; name = "zsh-syntax-highlighting";