Move HM modules
This commit is contained in:
parent
5db76d0fed
commit
3cf0004b78
110 changed files with 403 additions and 564 deletions
30
modules/hm/zsh.nix
Normal file
30
modules/hm/zsh.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ pkgs, ... }: {
|
||||
home.packages =
|
||||
builtins.attrValues { inherit (pkgs) nix-zsh-completions zsh-completions; };
|
||||
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
autocd = true;
|
||||
enableSyntaxHighlighting = true;
|
||||
plugins = [ ];
|
||||
initExtraBeforeCompInit = ''
|
||||
zstyle ':completion:*' menu select
|
||||
setopt CORRECT
|
||||
setopt AUTO_CD
|
||||
setopt CHASE_LINKS
|
||||
setopt PUSHD_TO_HOME
|
||||
'';
|
||||
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
plugins =
|
||||
[ "common-aliases" "cp" "dirhistory" "git-auto-fetch" "git" "sudo" ];
|
||||
extraConfig = "";
|
||||
};
|
||||
|
||||
# prezto = {
|
||||
# enable = true;
|
||||
# };
|
||||
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue