Skip to content

Commit

Permalink
Merge pull request #46 from MenkeTechnologies/master
Browse files Browse the repository at this point in the history
use test -n ZSH_VERSION
  • Loading branch information
MichaelDimmitt authored Dec 19, 2021
2 parents 58966a6 + 423c811 commit 89b1a0f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions bin/reveal
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
#!/usr/bin/env bash
reveal() {
___reveal_is_zsh(){
if command ps -p $$ | command grep -q zsh; then
return 0
else
return 1
fi
test -n "$ZSH_VERSION"
}

if ___reveal_is_zsh; then
Expand Down

0 comments on commit 89b1a0f

Please sign in to comment.