add JULIA_HISTORY env var. fixes #1673