wmutils / contrib

Useful bits and pieces
Other
93 stars 16 forks source link

closest.sh: only call focus if function returned data #29

Closed lwilletts closed 8 years ago

z3bra commented 8 years ago
./closest.sh: 39: ./closest.sh: Syntax error: word unexpected (expecting ")")

Please try your patch before submitting.

lwilletts commented 8 years ago

Oops, Fixed.

z3bra commented 8 years ago

For future reference, test ! -z is the same as test -n

lwilletts commented 8 years ago

Yes, I am aware, but prefer using the ! symbol to indicate to me 'NOT' empty.