Skip to content

redirect to /dev/null instead of '-q' option for solaris 10 or earlier #109

merged 1 commit into from Jul 29, 2013

3 participants

uchida commented Jul 29, 2013

The /usr/bin/grep on Solaris 10 or earlier has no '-q' option,
This pull request solve this problem with redirecting to /dev/null instead of '-q' option.

@rupa rupa merged commit a3b7898 into rupa:master Jul 29, 2013
rupa commented Jul 29, 2013

Sure thing.

knu commented on 805f6ff Jul 30, 2013

You can use a glob match intead of calling grep(1).

[[ -n "$_Z_NO_PROMPT_COMMAND" || "$PROMPT_COMMAND" == *'_z_cmd --add '* ]]


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.