mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-30 06:37:14 +09:00
Create ~/.micro if it does not exist
This commit is contained in:
@@ -46,6 +46,8 @@ func InitSettings() {
|
||||
if err != nil {
|
||||
TermMessage("Error writing settings.json file: " + err.Error())
|
||||
}
|
||||
|
||||
os.Mkdir(home+"/.micro", 755)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user