summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bash/.bashrc3
-rw-r--r--starship/.config/starship.toml.PL2
2 files changed, 4 insertions, 1 deletions
diff --git a/bash/.bashrc b/bash/.bashrc
index 9b7177e..3422362 100644
--- a/bash/.bashrc
+++ b/bash/.bashrc
@@ -1,3 +1,6 @@
+if [[ $- != *i* ]]; then
+ return
+fi
for file in ~/.config/sh/rc.d/*; do
# shellcheck disable=SC1090
source "$file"
diff --git a/starship/.config/starship.toml.PL b/starship/.config/starship.toml.PL
index 769a392..8a5dc5b 100644
--- a/starship/.config/starship.toml.PL
+++ b/starship/.config/starship.toml.PL
@@ -51,7 +51,7 @@ am_or_rebase = 'r'
[git_branch]
format = '[$branch(:$remote_branch)]($style)'
style = 'git'
-ignore_branches = ['main', 'master']
+ignore_branches = ['main', 'master', 'HEAD']
[git_commit]
format = '[$hash$tag]($style)'