summary refs log tree commit diff stats
path: root/ranger
blob: 4973e42f8d509c3b10bf3724ce1c114a18769659 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/python
# coding=utf-8

# TODO: cd after exit

from code import debug, fm, ui, options, environment

# TODO: find out the real name of this script and include files relative to here

# TODO: Parse arguments

# TODO: load config

def main():
	import locale
	locale.setlocale(locale.LC_ALL, 'en_US.utf8')

	path = '..'
	opt = options.get()
	env = environment.Environment()

	my_fm = fm.FM(opt, env)
	my_fm.setup(path, ui.UI(opt))
	my_fm.run()

if __name__ == "__main__": main()