From bb11479130b0988e93408aa917cfc872d427d95f Mon Sep 17 00:00:00 2001 From: Leonardo Date: Sat, 28 Feb 2026 16:27:59 +0100 Subject: nuovo layout --- hermes/home-manager/leo/programs/zsh.nix | 45 -------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 hermes/home-manager/leo/programs/zsh.nix (limited to 'hermes/home-manager/leo/programs/zsh.nix') diff --git a/hermes/home-manager/leo/programs/zsh.nix b/hermes/home-manager/leo/programs/zsh.nix deleted file mode 100644 index 3e2f86e..0000000 --- a/hermes/home-manager/leo/programs/zsh.nix +++ /dev/null @@ -1,45 +0,0 @@ -{lib, config, ...}: { - options.zsh.enable = lib.mkEnableOption "zsh config"; - - config = lib.mkIf config.zsh.enable { - programs.zsh = { - enable = true; - enableCompletion = true; - enableVteIntegration = true; - syntaxHighlighting.enable = true; - - history.size = 10000; - - oh-my-zsh = { - enable = true; - theme = "fishy"; - plugins = [ "git" "ssh" ]; - }; - - shellAliases = { - ls = "ls -lh --color=auto"; - l = "ls"; - ll = "ls -a"; - ssh = "TERM=xterm-256color ssh"; - wine = "wine64"; - - update-boot = "sudo nixos-rebuild boot --flake ~/nixos#hermes"; - update-system = "sudo nixos-rebuild switch --flake ~/nixos#hermes"; - update-home = "home-manager switch --flake ~/nixos#hermes"; - }; - - initContent = '' - # Ctrl + arrow keys - bindkey '^[Oc' forward-word - bindkey '^[Od' backward-word - bindkey '^[[1;5D' backward-word - bindkey '^[[1;5C' forward-word - bindkey '^H' backward-kill-word - - # Theme - autoload -U colors - colors - ''; - }; - }; -} -- cgit v1.3