aboutsummaryrefslogtreecommitdiffstats
path: root/atuin-client/src
diff options
context:
space:
mode:
authorKoichi Murase <myoga.murase@gmail.com>2024-01-01 23:26:02 +0900
committerGitHub <noreply@github.com>2024-01-01 14:26:02 +0000
commit1350d3fd74dfb968cae447a2b2b132ee146069a5 (patch)
tree39473e8297fc8960e4f48f5ffd8ea5e93bde7973 /atuin-client/src
parentfix(install): discord broken link (diff)
downloadatuin-1350d3fd74dfb968cae447a2b2b132ee146069a5.zip
fix(bash): fix small issues of `enter_accept` for the plain Bash (#1467)
* fix(bash): history should be updated before preexec * fix(bash): properly execute "--" With the current implementation, the user command "--" would not be executed even if it were the intended one. This is because it would be confused as an option by the "eval" builtin. We can specify "--" to tell "eval" that the later arguments should be literally treated as the command. * fix(bash): correctly restore $? and $_ * fix(bash): fix the use of preexec_ret_value The exit status of preexec_ret_value is used to suppress the execution of the corresponding command in the extdebug mode. The current implementation somehow tries to set $? before the call of stty, which does not have any effect. Instead, we can manually turn off the execution of the user command when the condition matches. * feat(bash): support array PROMPT_COMMAND of Bash >= 5.1
Diffstat (limited to 'atuin-client/src')
0 files changed, 0 insertions, 0 deletions