Skip to content

Commit

Permalink
support running breakroom from PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
jaromil committed Nov 12, 2024
1 parent 45e8f96 commit 0a64243
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/breakroom/breakroom
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ _isnum() {

bread=./breakroom-read
if ! [ -r $bread ]; then
_failure "internal executable ./breakroom-read not found"
bread=`command -v breakroom-read`
if ! [ -r $bread ]; then
_failure "internal executable ./breakroom-read not found"
fi
fi

_success "Welcome to Breakroom, the Zencode debugger"
Expand Down

0 comments on commit 0a64243

Please sign in to comment.