added settings for .diag
fixed path of dbext's history
fixed for neocomplete