take "~" as expander to make a ./linspector dir