summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-09-11 14:26:31 +0200
committerhut <hut@lavabit.com>2010-09-11 14:26:31 +0200
commitb1c1e1d88bc511306e4d786dea4234f1cbc6f041 (patch)
tree0889bf40399a342c9cba75dad77ecd4d7db9cb95
parentff64e3730b653fb23f0b6a4688437ab141efb19d (diff)
downloadranger-b1c1e1d88bc511306e4d786dea4234f1cbc6f041.tar.gz
defaults.commands: Removed "quick" method from :cd
-rw-r--r--ranger/defaults/commands.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/ranger/defaults/commands.py b/ranger/defaults/commands.py
index b6bf7e2b..d3c05023 100644
--- a/ranger/defaults/commands.py
+++ b/ranger/defaults/commands.py
@@ -86,18 +86,6 @@ class cd(Command):
 	def tab(self):
 		return self._tab_only_directories()
 
-	def quick(self):
-		from os.path import isdir, join, normpath
-		line = parse(self.line)
-		cwd = self.fm.env.cwd.path
-
-		rel_dest = line.rest(1)
-		if not rel_dest:
-			return False
-
-		abs_dest = normpath(join(cwd, rel_dest))
-		return rel_dest != '.' and isdir(abs_dest)
-
 
 class search(Command):
 	def execute(self):
rschemes: ugh, its no logical but bitwise OR!' href='/akspecs/ranger/commit/doc/colorschemes.txt?h=v1.6.1&id=9a735f62cfb4a16eb711750883f68f8099508f4b'>9a735f62 ^
efdc7b16 ^









a8f9cf2c ^

efdc7b16 ^


















a8f9cf2c ^

efdc7b16 ^














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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101