Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bashrc_dispatch
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ if ! type -p shell_is_login ; then
shell_is_osx () { [[ "$OSTYPE" == *'darwin'* ]] ; }
shell_is_cygwin () { [[ "$OSTYPE" == *'cygwin'* ]] ; }
shell_is_login () { shopt -q login_shell ; }
shell_is_interactive () { test -n "$PS1" ; }
shell_is_interactive () { [[ "$-" == *'i'* ]] ; }
shell_is_script () { ! shell_is_interactive ; }
fi

Expand Down