add setopt share_history