diff options
| -rw-r--r-- | atuin/src/shell/atuin.fish | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/atuin/src/shell/atuin.fish b/atuin/src/shell/atuin.fish index 061ea8d1..9f02579e 100644 --- a/atuin/src/shell/atuin.fish +++ b/atuin/src/shell/atuin.fish @@ -24,7 +24,13 @@ function _atuin_search if string match -qg '__atuin_accept__:*' "$h" set hist (string match -r '__atuin_accept__:(.*|\s*)' "$h" | awk 'NR == 2') echo $hist + # Need to run the pre/post exec functions manually + _atuin_preexec $hist eval $hist + _atuin_postexec + # Allow space for repainting the prompt, this will work for prompts up to 2 lines + echo + echo else commandline -r "$h" end |
