init
This commit is contained in:
commit
3cb3e95e89
9 changed files with 468 additions and 0 deletions
29
modules/home-manager/zsh.nix
Normal file
29
modules/home-manager/zsh.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
autocd = true;
|
||||
dotDir = ".config/zsh";
|
||||
enableAutosuggestions = true;
|
||||
enableCompletion = true;
|
||||
# shellAliases = {
|
||||
# sl = "exa";
|
||||
# ls = "exa";
|
||||
# l = "exa -l";
|
||||
# la = "exa -la";
|
||||
# ip = "ip --color=auto";
|
||||
# };
|
||||
|
||||
plugins = with pkgs; [
|
||||
{
|
||||
name = "zsh-syntax-highlighting";
|
||||
src = fetchFromGitHub {
|
||||
owner = "zsh-users";
|
||||
repo = "zsh-syntax-highlighting";
|
||||
rev = "0.6.0";
|
||||
sha256 = "0zmq66dzasmr5pwribyh4kbkk23jxbpdw4rjxx0i7dx8jjp2lzl4";
|
||||
};
|
||||
file = "agkozak-zsh-prompt.plugin.zsh";
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue