diff --git a/home/default.nix b/home/default.nix index bfd44a9..d309070 100644 --- a/home/default.nix +++ b/home/default.nix @@ -31,7 +31,6 @@ tea glab figlet - grml-zsh-config tmux w3m #neovim @@ -43,7 +42,8 @@ ookla-speedtest colordiff direnv - pure-prompt + # nice prompt together with grml + # pure-prompt #vimPlugins.nvim-lspconfig #vimPlugins.nerdtree go gcc libcap @@ -68,12 +68,23 @@ programs.zsh = { enable = true; - enableAutosuggestions = true; - # broken: enableSyntaxHighlighting = 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 = { - enable = true; + # grml + enable = false; settings = { directory = { truncation_length = 0; @@ -81,8 +92,10 @@ }; }; programs.atuin = { - enable = true; + # grml + enable = false; settings = { + auto_sync = false; search_mode = "fulltext"; }; }; diff --git a/nixos/default.nix b/nixos/default.nix index 221a11d..cec1bbb 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -57,6 +57,8 @@ unzip unrar home-manager + # nice prompt together with grml + pure-prompt ]; programs.mosh.enable = true; # open firewall @@ -66,7 +68,7 @@ }; # zsh - programs.starship.enable = true; + programs.starship.enable = false; users.defaultUserShell = pkgs.zsh; programs.zsh = { @@ -74,9 +76,10 @@ autosuggestions.enable = true; syntaxHighlighting.enable = true; # interactiveShellInit = '' - # promptInit = '' - # source ${pkgs.grml-zsh-config}/etc/zsh/zshrc - # ''; + promptInit = '' + source ${pkgs.grml-zsh-config}/etc/zsh/zshrc + prompt pure; + ''; # promptInit = ""; shellAliases = { ip = "ip --color";