diff options
-rw-r--r-- | ranger/defaults/commands.py | 2 |
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) |