blob: ab52bacd87826bd608fe0a300aff65b55510c9b8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{ config, pkgs, ... }:
let
xdg = {
state = config.xdg.state.directory;
data = config.xdg.data.directory;
cache = config.xdg.cache.directory;
config = config.xdg.config.directory;
};
plugin = pkg: name: ''source "${pkg}/share/zsh/plugins/${name}/${name}.plugin.zsh"'';
in {
xdg.config.files."zsh/plugins" = {
executable = true;
text = ''
${plugin pkgs.zsh-fast-syntax-highlighting "fast-syntax-highlighting"}
${plugin pkgs.zsh-autosuggestions "zsh-autosuggestions"}
'';
};
}
|