add options for dosini filetype
make update_recent_dirs work without readarray