rupa / z

z - jump around
Do What The F*ck You Want To Public License
16.38k stars 1.17k forks source link

fix argument handling #254

Open blastrock opened 5 years ago

blastrock commented 5 years ago

If the argument is -t, [ -t ] will test if stdout is a TTY. We should use -z to test if a string is empty instead.