1 { pkgs, lib, config, ... }:
6 md-toc = "grep '^#\\+' --color";
11 # Disable ctrl-s/ctrl-q flow control
15 programs.direnv.enableBashIntegration = true;
16 home.sessionVariables = {
17 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)\$ '';
19 home.file.".inputrc".text = ''
20 "\e[1~": beginning-of-line
22 "\e[7~": beginning-of-line
24 "\eOH": beginning-of-line
26 "\e[H": beginning-of-line
28 "\e[1;5C": forward-word
29 "\e[1;5D": backward-word
31 "\e[5D": backward-word
32 "\e\e[C": forward-word
33 "\e\e[D": backward-word