Cleaner if-statement

Signed-off-by: hjpotter92 <hjpotter92+github@gmail.com>
This commit is contained in:
hjpotter92 2020-12-28 20:31:41 +05:30
parent 8275543560
commit 8eb0e6614b
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
#!/usr/bin/env zsh
if [ "$TERM" = dumb ] || (( ! $+commands[grc] )); then
if [ "$TERM" = dumb ] || (( ! $+commands[grc] ))
then
return
fi