summaryrefslogtreecommitdiff
path: root/users/seth/shell/zsh/default.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-02-18 05:13:27 -0500
committerseth <[email protected]>2023-02-18 05:13:27 -0500
commit1d7b04a71c7222153ffa9cd48f73b51ea72204d1 (patch)
tree3d794209be0e2311dc76337c09c2cb39c52f6afb /users/seth/shell/zsh/default.nix
parent8a8059d9889afcbcd8a133b0b186e3a97ce7ac23 (diff)
major refactor
- `mkHost` now accepts an optional `specialArgs` argument to be passed to `nixosSystem()` - the `modules` argument for `mkHMUser` is now optional
Diffstat (limited to 'users/seth/shell/zsh/default.nix')
-rw-r--r--users/seth/shell/zsh/default.nix38
1 files changed, 14 insertions, 24 deletions
diff --git a/users/seth/shell/zsh/default.nix b/users/seth/shell/zsh/default.nix
index b37b071..8f78bcd 100644
--- a/users/seth/shell/zsh/default.nix
+++ b/users/seth/shell/zsh/default.nix
@@ -4,7 +4,7 @@
...
}: {
programs.zsh = {
- enable = !config.seth.standalone;
+ enable = false;
enableAutosuggestions = true;
enableSyntaxHighlighting = true;
enableVteIntegration = true;
@@ -22,6 +22,9 @@
defaultKeymap = "emacs";
dotDir = ".config/zsh";
initExtra = ''
+ autoload -Uz promptinit
+ prompt walters
+
zmodload zsh/zutil
zmodload zsh/complist
zstyle ":completion::*" group-name ""
@@ -35,7 +38,6 @@
unsetopt ignore_braces
unsetopt list_beep
setopt always_to_end
- setopt inc_append_history
setopt prompt_subst
setopt share_history
@@ -59,11 +61,11 @@
size = 100;
};
plugins = [
- {
- name = "powerlevel10k";
- src = pkgs.zsh-powerlevel10k;
- file = "share/zsh-powerlevel10k/powerlevel10k.zsh-theme";
- }
+ # {
+ # name = "powerlevel10k";
+ # src = pkgs.zsh-powerlevel10k;
+ # file = "share/zsh-powerlevel10k/powerlevel10k.zsh-theme";
+ # }
{
name = "zsh-completions";
@@ -72,18 +74,6 @@
}
{
- name = "zsh-autosuggestions";
- src = pkgs.zsh-autosuggestions;
- file = "share/zsh-autosuggestions/zsh-autosuggestions.zsh";
- }
-
- {
- name = "zsh-syntax-highlighting";
- src = pkgs.zsh-syntax-highlighting;
- file = "share/zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh";
- }
-
- {
name = "cattppuccin-zsh-syntax-highlighting";
src = pkgs.fetchFromGitHub {
owner = "catppuccin";
@@ -95,11 +85,11 @@
file = "themes/catppuccin_mocha-zsh-syntax-highlighting.zsh";
}
- {
- name = "powerlevel10k-config";
- src = ./files;
- file = ".p10k.zsh";
- }
+ # {
+ # name = "powerlevel10k-config";
+ # src = ./files;
+ # file = ".p10k.zsh";
+ # }
];
};
}