by default launch in $HOME

master
Alessandro Mauri 3 years ago
parent 74e7f3f714
commit 112d3fd03b
  1. 2
      TODO
  2. 2
      data/core/init.lua

@ -15,6 +15,8 @@
[ ] prevent overscrolling on treeview [ ] prevent overscrolling on treeview
[ ] user config file and/or init.lua [ ] user config file and/or init.lua
[ ] save session and restore on reopening [ ] save session and restore on reopening
[ ] optimize dir tree taking too long to load on big folders
[ ] go in background when launching from terminal
[ ] some key bindings: [ ] some key bindings:
[ ] alt+right == End [ ] alt+right == End
[ ] alt+left == Home [ ] alt+left == Home

@ -82,7 +82,7 @@ function core.init()
CommandView = require "core.commandview" CommandView = require "core.commandview"
Doc = require "core.doc" Doc = require "core.doc"
local project_dir = EXEDIR local project_dir = os.getenv("HOME") or '/'
local files = {} local files = {}
for i = 2, #ARGS do for i = 2, #ARGS do
local info = system.get_file_info(ARGS[i]) or {} local info = system.get_file_info(ARGS[i]) or {}

Loading…
Cancel
Save