added stuff

This commit is contained in:
vali 2024-04-09 23:11:33 +02:00
commit 236b8c2a6b
907 changed files with 70990 additions and 0 deletions

View file

@ -0,0 +1,22 @@
{
programs.bash = {
enable = false;
enableCompletion = true;
bashrcExtra = ''
set -o vi
bind -m vi-command 'Control-l: clear-screen'
bind -m vi-insert 'Control-l: clear-screen'
bind 'set show-mode-in-prompt on'
bind 'set vi-cmd-mode-string "n "'
bind 'set vi-ins-mode-string "i "'
# use ctrl-z to toggle in and out of bg
if [[ $- == *i* ]]; then
stty susp undef
bind -m vi-command 'Control-z: fg\015'
bind -m vi-insert 'Control-z: fg\015'
fi
'';
};
}