aboutsummaryrefslogtreecommitdiff
path: root/home-manager/home.nix
diff options
context:
space:
mode:
authorAargh Rai <aargh.rai+git@gmail.com>2026-08-01 14:31:35 +0530
committerAargh Rai <aargh.rai+git@gmail.com>2026-08-01 14:31:35 +0530
commitced774e19c36fb3b0b33a3846e7c9cf874b0c206 (patch)
tree9fc1d02ffcc3bcc61dbdd691787339c512864b95 /home-manager/home.nix
parentda900f6014b8fa65c5e097acfe6d949aee4a4179 (diff)
calibre
Diffstat (limited to 'home-manager/home.nix')
-rw-r--r--home-manager/home.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/home-manager/home.nix b/home-manager/home.nix
index 955d086..3c0e9e7 100644
--- a/home-manager/home.nix
+++ b/home-manager/home.nix
@@ -48,6 +48,9 @@ in {
home.file = {
".bashrc".text = ''
+ # exiting on non interactive shell
+ [[ $- != *i* ]] && return
+
bash_starship_init_code=$(starship init bash)
STARSHIP_DEV_MODE=1
eval "$bash_starship_init_code"