mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-02 05:41:16 -03:00
clang-format C++ files
This commit is contained in:
@@ -483,7 +483,8 @@ static int builtin_set_list(const wchar_t *cmd, set_cmd_opts_t &opts, int argc,
|
||||
if (!names_only) {
|
||||
wcstring val;
|
||||
if (opts.shorten_ok && key == L"history") {
|
||||
history_t *history = &history_t::history_with_name(history_session_id(env_stack_t::principal()));
|
||||
history_t *history =
|
||||
&history_t::history_with_name(history_session_id(env_stack_t::principal()));
|
||||
for (size_t i = 1; i < history->size() && val.size() < 64; i++) {
|
||||
if (i > 1) val += L' ';
|
||||
val += expand_escape_string(history->item_at_index(i).str());
|
||||
|
||||
Reference in New Issue
Block a user