summary refs log tree commit diff stats
path: root/test/test.py
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-03-12 20:59:24 +0100
committerhut <hut@lavabit.com>2010-03-12 21:50:54 +0100
commitd01a6613f2a34c6fb5b92c1d661f9ab32a7c2086 (patch)
treed64c4df4113b415de3dbdaf1a0c36f696d3b5c93 /test/test.py
parentc9c7a8335d115d62312d31f95397f956488e8c7a (diff)
downloadranger-d01a6613f2a34c6fb5b92c1d661f9ab32a7c2086.tar.gz
fixed shutli_generatorized.move()
Diffstat (limited to 'test/test.py')
0 files changed, 0 insertions, 0 deletions
-12-25 21:59:51 +0100 random updates' href='/akspecs/ranger/commit/ranger.py?h=v1.6.1&id=5c210a96a0e4bb74cd096edb045fc3814b78450c'>5c210a96 ^
a66c4a26 ^
3de15ddd ^
a66c4a26 ^


f027adc0 ^
5c210a96 ^

3de15ddd ^

5c210a96 ^
fb275079 ^

5c210a96 ^
3d566884 ^
a1d7ed6e ^
3d566884 ^
f8e96a97 ^
465bff73 ^





f027adc0 ^
f8e96a97 ^

0b5c4cbe ^
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
                     
              
                                                
                                                                               
 




                                                                         

               


                                                                 
    
                                                                


        
 

                                                                

                                                           
 

                                                              
                              
    
                               
 
                                   





                                                               
 

              
 
#!/usr/bin/python -OO
# coding=utf-8
# ranger: Browse your files inside the terminal.
# -----------------------------------------------------------------------------

# An embedded shell script. It allows you to change the directory
# of the parent shell to the last visited directory in ranger after exit.
# For more information, check out doc/cd-after-exit.txt
# To enable this, start ranger with:
#     source /path/ranger /path/ranger
"""":
if [ $1 ]; then
	RANGER="$1"
	shift
	cd "`$RANGER --cd-after-exit \"$@\" 3>&1 1>&2 2>&3 3>&-`"
else
	echo "usage: source path/to/ranger.py path/to/ranger.py"
fi
return 1
"""

# Redefine the docstring, since the previous one was hijacked to
# embed a shellscript.
__doc__ = """Ranger - file browser for the unix terminal"""


# Importing the main method may fail if the ranger directory
# is neither in the same directory as this file, nor in one of
# pythons global import paths.
try:
	from ranger import main

except ImportError as errormessage:
	if str(errormessage).endswith("main"):
		print("Can't import the main module.")
		print("To run an uninstalled copy of ranger,")
		print("launch ranger.py in the top directory.")
	else:
		raise

else:
	main()