nix refactor

This commit is contained in:
2022-11-25 11:30:22 -05:00
parent 6d3b323ab1
commit eeefab3584
21 changed files with 420 additions and 186 deletions

16
readline/default.nix Normal file
View File

@@ -0,0 +1,16 @@
{ config, pkgs, ... }:
{
programs.readline = {
enable = true;
extraConfig = ''
# Show Prompt
set show-mode-in-prompt on
# Approximate VIM Dracula Colors
set vi-ins-mode-string \1\e[01;38;5;23;48;5;231m\2 INS \1\e[38;5;231;48;5;238m\2\1\e[0m\2
set vi-cmd-mode-string \1\e[01;38;5;22;48;5;148m\2 CMD \1\e[38;5;148;48;5;238m\2\1\e[0m\2
'';
};
}