diff options
author | Jan-Thorsten Peter <jan@jtpeter.de> | 2014-07-16 09:33:25 -0700 |
---|---|---|
committer | Kevin Ballard <kevin@sb.org> | 2014-10-01 15:09:35 -0700 |
commit | 646d9ab431f102588dfbc90e1c54ff879d164a8a (patch) | |
tree | 286c1b07b508c5ac043ca3a80634d617cd424eb5 /reader.cpp | |
parent | 43e451d4d8dbc96c853d9297065322457ac9c345 (diff) |
Added fish_preexec and fish_postexec events
Fixes #1549.
Diffstat (limited to 'reader.cpp')
-rw-r--r-- | reader.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2966,7 +2966,10 @@ static int read_i(void) update_buff_pos(&data->command_line, 0); data->command_line.text.clear(); data->command_line_changed(&data->command_line); + wcstring_list_t argv(1, command); + event_fire_generic(L"fish_preexec", &argv); reader_run_command(parser, command); + event_fire_generic(L"fish_postexec", &argv); if (data->end_loop) { handle_end_loop(); |