diff options
author | jianjun <justmao945@gmail.com> | 2014-07-14 23:34:15 +0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2014-08-02 12:57:38 -0700 |
commit | 87abcecca605397fb0e21567de40bc7592c374ac (patch) | |
tree | dbea3d423464574f45579947f23aa355c2171be8 /builtin.cpp | |
parent | 556680cf5ef17b7dd394dcdbcf06b89781390d08 (diff) |
add command line string as $argv[1] for fish_title
Diffstat (limited to 'builtin.cpp')
-rw-r--r-- | builtin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin.cpp b/builtin.cpp index 5ab3ea43..7ffcb773 100644 --- a/builtin.cpp +++ b/builtin.cpp @@ -3251,7 +3251,7 @@ static int builtin_fg(parser_t &parser, wchar_t **argv) const wcstring ft = tok_first(j->command_wcstr()); if (! ft.empty()) env_set(L"_", ft.c_str(), ENV_EXPORT); - reader_write_title(); + reader_write_title(j->command_wcstr()); make_first(j); job_set_flag(j, JOB_FOREGROUND, 1); |