1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-28 02:37:09 +00:00

bash: do not evaluate /etc/bashrc on non-interactive shells

This commit is contained in:
Mario Rodas 2018-10-14 08:38:26 -05:00
parent 5fa894c90a
commit b82bc64a0e

View file

@ -52,6 +52,9 @@ in
# /etc/bashrc: DO NOT EDIT -- this file has been generated automatically.
# This file is read for interactive shells.
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
# Make bash check its window size after a process completes
shopt -s checkwinsize