feat(bash): don't run bashrc is shell not interactive
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2023-12-29 15:23:50 -05:00
parent 1d3338acec
commit a6c5dcea7c
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,4 @@
# Check git status of nix configs
fetchNix() {(
cd ~/.nix || exit 1
git fetch --all --quiet

View file

@ -129,6 +129,9 @@
#profileExtra = ''
#'';
bashrcExtra = ''
# Check if shell is interactive
[[ $- == *i* ]] || return 0
${lib.strings.fileContents ./config/dracula/less.sh}
${lib.strings.fileContents ./config/dracula/fzf.sh}