From aac4a9f0936a8afef3ce87b5bb3076160f0a84e6 Mon Sep 17 00:00:00 2001 From: osbm Date: Sun, 9 Feb 2025 22:09:34 +0300 Subject: [PATCH] bashrc --- home/bash.nix | 10 ++++++++++ home/home.nix | 1 + 2 files changed, 11 insertions(+) create mode 100644 home/bash.nix 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";