feat(bash): don't run bashrc is shell not interactive
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
1d3338acec
commit
a6c5dcea7c
2 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,4 @@
|
|||
# Check git status of nix configs
|
||||
|
||||
fetchNix() {(
|
||||
cd ~/.nix || exit 1
|
||||
git fetch --all --quiet
|
||||
|
|
|
@ -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}
|
||||
|
||||
|
|
Loading…
Reference in a new issue