|
|
|
|
@ -20,7 +20,7 @@ __resh_preexec() { |
|
|
|
|
--recall-actions "$__RESH_HIST_RECALL_ACTIONS" \ |
|
|
|
|
--recall-strategy "$__RESH_HIST_RECALL_STRATEGY" \ |
|
|
|
|
--recall-last-cmdline "$__RESH_HIST_PREV_LINE" \ |
|
|
|
|
>| ~/.resh/collect_last_run_out.txt 2>&1 || echo "resh-collect ERROR: $(head -n 1 ~/.resh/collect_last_run_out.txt)" |
|
|
|
|
>| /tmp/resh_collect_last_run_out.txt 2>&1 || echo "resh-collect ERROR: $(head -n 1 /tmp/resh_collect_last_run_out.txt)" |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
# used for collect and collect --recall |
|
|
|
|
@ -169,7 +169,7 @@ __resh_precmd() { |
|
|
|
|
-gitRemoteExitCodeAfter "$__RESH_GIT_REMOTE_EXIT_CODE_AFTER" \ |
|
|
|
|
-realtimeAfter "$__RESH_RT_AFTER" \ |
|
|
|
|
-timezoneAfter "$__RESH_TZ_AFTER" \ |
|
|
|
|
>| ~/.resh/postcollect_last_run_out.txt 2>&1 || echo "resh-postcollect ERROR: $(head -n 1 ~/.resh/postcollect_last_run_out.txt)" |
|
|
|
|
>| /tmp/resh_postcollect_last_run_out.txt 2>&1 || echo "resh-postcollect ERROR: $(head -n 1 /tmp/resh_postcollect_last_run_out.txt)" |
|
|
|
|
fi |
|
|
|
|
__resh_reset_variables |
|
|
|
|
fi |
|
|
|
|
|