summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/commands.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands.cc b/src/commands.cc
index 8fe38134..056e7017 100644
--- a/src/commands.cc
+++ b/src/commands.cc
@@ -826,7 +826,7 @@ const CommandDesc rename_buffer_cmd = {
single_param,
CommandFlags::None,
CommandHelper{},
- make_single_word_completer([](const Context& context){ return context.buffer().display_name(); }),
+ filename_completer<false>,
[](const ParametersParser& parser, Context& context, const ShellContext&)
{
if (not context.buffer().set_name(parser[0]))