kak_bufname env var use display_name
This commit is contained in:
parent
c6a1fed6b4
commit
ee0e640384
|
@ -685,7 +685,7 @@ void register_env_vars()
|
||||||
|
|
||||||
shell_manager.register_env_var("bufname",
|
shell_manager.register_env_var("bufname",
|
||||||
[](const String& name, const Context& context)
|
[](const String& name, const Context& context)
|
||||||
{ return context.buffer().name(); });
|
{ return context.buffer().display_name(); });
|
||||||
shell_manager.register_env_var("timestamp",
|
shell_manager.register_env_var("timestamp",
|
||||||
[](const String& name, const Context& context)
|
[](const String& name, const Context& context)
|
||||||
{ return int_to_str(context.buffer().timestamp()); });
|
{ return int_to_str(context.buffer().timestamp()); });
|
||||||
|
|
Loading…
Reference in New Issue
Block a user