Compare commits

...

2 Commits

Author SHA1 Message Date
genofire f2cd5f96f2 chore(nixos): gnome keybind 2022-07-08 09:49:16 +02:00
genofire 5ea77333b4 switch from starship+atuin to grml+pure 2022-07-08 09:48:56 +02:00
3 changed files with 27 additions and 11 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

@ -27,7 +27,7 @@
"org/gnome/desktop/wm/keybindings" = {
"toggle-maximized" = [ "<Super>z" ];
"maximize" = [];
"unmaximize" = [ "<Alt>F5" ];
"unmaximize" = [];
"close" = [ "<Super>c" "<Alt>F4" ];

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