1 { pkgs, lib, config, ... }:
6 md-toc = "grep '^#\\+' --color";
13 programs.direnv.enableBashIntegration = true;
14 home.sessionVariables = {
15 PS1 = ''\[\033[1;32m\]\[\e]0;\u@\h: \w\a\]\W\[\033[0m\] \$(e=\$?; if [ \$e != 0 ]; then echo '\[\e[0;91m\]'\$e'\[\e[0m\]'; fi)\$ '';
17 home.file.".inputrc".text = ''
18 "\e[1~": beginning-of-line
20 "\e[7~": beginning-of-line
22 "\eOH": beginning-of-line
24 "\e[H": beginning-of-line
26 "\e[1;5C": forward-word
27 "\e[1;5D": backward-word
29 "\e[5D": backward-word
30 "\e\e[C": forward-word
31 "\e\e[D": backward-word