From e7d4e90e4a6ab6d42e687c1fcad947b652373a72 Mon Sep 17 00:00:00 2001 From: genofire Date: Fri, 8 Jul 2022 09:57:22 +0200 Subject: [PATCH] zsh: switch from starship+atuin to grml+pure - cleanup --- home/default.nix | 37 +++++++------------------------------ nixos/default.nix | 2 -- 2 files changed, 7 insertions(+), 32 deletions(-) diff --git a/home/default.nix b/home/default.nix index d309070..a515753 100644 --- a/home/default.nix +++ b/home/default.nix @@ -43,7 +43,7 @@ colordiff direnv # nice prompt together with grml - # pure-prompt + pure-prompt #vimPlugins.nvim-lspconfig #vimPlugins.nerdtree go gcc libcap @@ -69,35 +69,12 @@ programs.zsh = { enable = true; - # enableAutosuggestions = true; - # broken: - # -enableSyntaxHighlighting = true; - # grml and pure enabled .... - # initExtra = '' - # source ${pkgs.grml-zsh-config}/etc/zsh/zshrc - # prompt pure - - # export ATUIN_NOBIND="true" - # eval "$(atuin init zsh)" - # bindkey '^r' _atuin_search_widget - #''; - }; - programs.starship = { - # grml - enable = false; - settings = { - directory = { - truncation_length = 0; - }; - }; - }; - programs.atuin = { - # grml - enable = false; - settings = { - auto_sync = false; - search_mode = "fulltext"; - }; + enableAutosuggestions = true; + enableSyntaxHighlighting = true; + initExtra = '' + source ${pkgs.grml-zsh-config}/etc/zsh/zshrc + prompt pure + ''; }; programs.direnv.enable = true; programs.gitui.enable = true; diff --git a/nixos/default.nix b/nixos/default.nix index cec1bbb..8867894 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -68,8 +68,6 @@ }; # zsh - programs.starship.enable = false; - users.defaultUserShell = pkgs.zsh; programs.zsh = { enable = true;