diff options
| author | Koichi Murase <myoga.murase@gmail.com> | 2024-01-01 23:26:02 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-01 14:26:02 +0000 |
| commit | 1350d3fd74dfb968cae447a2b2b132ee146069a5 (patch) | |
| tree | 39473e8297fc8960e4f48f5ffd8ea5e93bde7973 /atuin-server-postgres/migrations/20210425153757_create_users.sql | |
| parent | fix(install): discord broken link (diff) | |
| download | atuin-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-server-postgres/migrations/20210425153757_create_users.sql')
0 files changed, 0 insertions, 0 deletions
