zsh: switch from starship+atuin to grml+pure - cleanup

This commit is contained in:
genofire 2022-07-08 09:57:22 +02:00
parent f2cd5f96f2
commit e7d4e90e4a
2 changed files with 7 additions and 32 deletions

View File

@ -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;

View File

@ -68,8 +68,6 @@
};
# zsh
programs.starship.enable = false;
users.defaultUserShell = pkgs.zsh;
programs.zsh = {
enable = true;