summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2011-10-21 12:57:38 +0200
committerhut <hut@lavabit.com>2011-10-21 12:57:50 +0200
commit812447408be9b67850b253fe9d53a88ad31856ae (patch)
tree1227b0215d411d9b5938f43ae57bdb4b77e78173 /ranger
parentc388e5cfa61f60b166c5be79fedb7c4240e15267 (diff)
downloadranger-812447408be9b67850b253fe9d53a88ad31856ae.tar.gz
defaults/commands: Fixed tab completion of :shell
Diffstat (limited to 'ranger')
-rw-r--r--ranger/defaults/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/defaults/commands.py b/ranger/defaults/commands.py
index 0b472378..d564d4f6 100644
--- a/ranger/defaults/commands.py
+++ b/ranger/defaults/commands.py
@@ -206,7 +206,7 @@ class shell(Command):
 			self.fm.execute_command(command, flags=flags)
 
 	def tab(self):
-		if self.arg(1) and line.arg(1)[0] == '-':
+		if self.arg(1) and self.arg(1)[0] == '-':
 			command = self.rest(2)
 		else:
 			command = self.rest(1)