switch from starship+atuin to grml+pure

This commit is contained in:
genofire 2022-07-08 09:48:56 +02:00
parent 85cc291fd4
commit 5ea77333b4
2 changed files with 26 additions and 10 deletions

View File

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

View File

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