Skip to content

Commit

Permalink
Improved compatibility with zsh
Browse files Browse the repository at this point in the history
  • Loading branch information
GregTonoski committed Oct 11, 2023
1 parent 344bfa2 commit 1c68380
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions BIP39-XOR.bash
Original file line number Diff line number Diff line change
Expand Up @@ -4559,7 +4559,8 @@ if [[ $# -eq 0 ]] ; then
printf "Examples:\n"
printf "BIP39 codewords: time until select then return void float true false case catch depart\n"
printf "BIP39 codewords: time until select then return void float true false case catch depart XOR age age age age age age age age age age age used\n\n"
read -p "BIP39 codewords: " read_input
printf "BIP39 codewords: "
read read_input
fn_parse_arguments ${read_input}
else
fn_parse_arguments $@
Expand Down Expand Up @@ -4635,7 +4636,7 @@ else
printf "%s \n" "${BIP39_WORDS}"
fi
if [ -n "$PS1" ]; then # intended to prevent closure of a terminal window by a system
if [ "${0%/*}" == "${0}" ] ; then
if [ "${0%/*}" = "${0}" ] ; then
cd ${0%\\*}
else
cd ${0%/*}
Expand Down

0 comments on commit 1c68380

Please sign in to comment.