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 tea
glab glab
figlet figlet
grml-zsh-config
tmux tmux
w3m w3m
#neovim #neovim
@ -43,7 +42,8 @@
ookla-speedtest ookla-speedtest
colordiff colordiff
direnv direnv
pure-prompt # nice prompt together with grml
# pure-prompt
#vimPlugins.nvim-lspconfig #vimPlugins.nvim-lspconfig
#vimPlugins.nerdtree #vimPlugins.nerdtree
go gcc libcap go gcc libcap
@ -68,12 +68,23 @@
programs.zsh = { programs.zsh = {
enable = true; enable = true;
enableAutosuggestions = true;
# broken: enableSyntaxHighlighting = true; # enableAutosuggestions = true;
# broken:
# -enableSyntaxHighlighting = true;
# grml and pure enabled .... # 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 = { programs.starship = {
enable = true; # grml
enable = false;
settings = { settings = {
directory = { directory = {
truncation_length = 0; truncation_length = 0;
@ -81,8 +92,10 @@
}; };
}; };
programs.atuin = { programs.atuin = {
enable = true; # grml
enable = false;
settings = { settings = {
auto_sync = false;
search_mode = "fulltext"; search_mode = "fulltext";
}; };
}; };

View File

@ -57,6 +57,8 @@
unzip unzip
unrar unrar
home-manager home-manager
# nice prompt together with grml
pure-prompt
]; ];
programs.mosh.enable = true; # open firewall programs.mosh.enable = true; # open firewall
@ -66,7 +68,7 @@
}; };
# zsh # zsh
programs.starship.enable = true; programs.starship.enable = false;
users.defaultUserShell = pkgs.zsh; users.defaultUserShell = pkgs.zsh;
programs.zsh = { programs.zsh = {
@ -74,9 +76,10 @@
autosuggestions.enable = true; autosuggestions.enable = true;
syntaxHighlighting.enable = true; syntaxHighlighting.enable = true;
# interactiveShellInit = '' # interactiveShellInit = ''
# promptInit = '' promptInit = ''
# source ${pkgs.grml-zsh-config}/etc/zsh/zshrc source ${pkgs.grml-zsh-config}/etc/zsh/zshrc
# ''; prompt pure;
'';
# promptInit = ""; # promptInit = "";
shellAliases = { shellAliases = {
ip = "ip --color"; ip = "ip --color";