diff options
-rw-r--r-- | ranger/api/commands.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/api/commands.py b/ranger/api/commands.py index e00fe385..d7cd2372 100644 --- a/ranger/api/commands.py +++ b/ranger/api/commands.py @@ -75,7 +75,7 @@ class CommandContainer(object): return None def command_generator(self, start): - return (cmd + ' ' for cmd in self.commands if cmd.startswith(start)) + return sorted(cmd + ' ' for cmd in self.commands if cmd.startswith(start)) class Command(FileManagerAware): |