diff --git a/home/bash.nix b/home/bash.nix new file mode 100644 index 0000000..b29a484 --- /dev/null +++ b/home/bash.nix @@ -0,0 +1,10 @@ +{pkgs, ...}: { + programs.bash = { + enable = true; + bashrcExtra = '' + if [ "dumb" == "$TERM" ] ; then + export TERM=xterm-256color + fi + ''; + }; +} diff --git a/home/home.nix b/home/home.nix index 4b1d567..3f3d993 100644 --- a/home/home.nix +++ b/home/home.nix @@ -7,6 +7,7 @@ ./tmux ./git.nix ./ssh.nix + ./bash.nix ]; home.username = "osbm";