summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2013-02-06 02:11:17 +0100
committerhut <hut@lavabit.com>2013-02-06 02:11:17 +0100
commit8bd314b8fead489482dc68a089757f725e688af5 (patch)
treeea596b0deb29852e806173302b7cd33301f8beea /ranger
parentb11e6ec0ea2376dfd56da65e4931e1cfa355937d (diff)
downloadranger-8bd314b8fead489482dc68a089757f725e688af5.tar.gz
config/commands: sort settings when using TAB on ":set "
Diffstat (limited to 'ranger')
-rw-r--r--ranger/config/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/config/commands.py b/ranger/config/commands.py
index fa4f1ec6..9095a093 100644
--- a/ranger/config/commands.py
+++ b/ranger/config/commands.py
@@ -398,7 +398,7 @@ class set_(Command):
 		name, value, name_done = self.parse_setting_line()
 		settings = self.fm.settings
 		if not name:
-			return (self.firstpart + setting for setting in settings)
+			return sorted(self.firstpart + setting for setting in settings)
 		if not value and not name_done:
 			return (self.firstpart + setting for setting in settings \
 					if setting.startswith(name))