summary refs log blame commit diff stats
path: root/ranger
blob: 175b980316f5dbdef328f4f585802b3f7f4d04ad (plain) (tree)
1
2
3
4
5
6




                     
                                                    








                                                                                




                                                     






                                       

                                 
#!/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

# TODO: initialize classes


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()