Skip to content

Commit 690982b

Browse files
committed
Interactive mode
1 parent 25c5341 commit 690982b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/script.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/usr/bin/env bash
22

3+
# Force interactive mode if not already in it
4+
[ -t 0 ] && PS1='> ' || exec bash -i
5+
36
create_pull_request() {
47
# Source wordlist (branch names)
58
mapfile -t words < word_list.txt

0 commit comments

Comments
 (0)