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
5 changes: 5 additions & 0 deletions sensible.bash
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
# Repository: https://github.com/mrzool/bash-sensible
# Version: 0.2.2

# If shell is not interactive: do nothing
if [[ $- != *i* ]] ; then
return
fi

# Unique Bash version check
if ((BASH_VERSINFO[0] < 4))
then
Expand Down