diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2024-12-19 13:55:06 -0800 |
---|---|---|
committer | Kaz Kylheku <kazinator@Kazs-MacBook-Pro.local> | 2024-12-19 14:00:35 -0800 |
commit | 97cd789d40e2d4a3e01219363d58c77389160058 (patch) | |
tree | 5a0127a2592fabafab6b3e6487644a43b7966e66 | |
parent | ef6868d2f3edc883b75c672bb17ece5bc6ef9c37 (diff) | |
download | basta-97cd789d40e2d4a3e01219363d58c77389160058.tar.gz basta-97cd789d40e2d4a3e01219363d58c77389160058.tar.bz2 basta-97cd789d40e2d4a3e01219363d58c77389160058.zip |
Bail if Bash is not interactive.
-rw-r--r-- | basta.sh | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1,5 +1,7 @@ # License at bottom +[[ $- == *i* ]] || return 0 + basta_old_cmdno=${basta_old_cmdno-0} basta_old_lines=${basta_old_lines-0} basta_old_cols=${basta_old_cols-0} |