We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
atuin history start
1 parent 4512cd5 commit 032ca19Copy full SHA for 032ca19
atuin/src/shell/atuin.bash
@@ -17,14 +17,6 @@ export ATUIN_SESSION
17
ATUIN_HISTORY_ID=""
18
19
__atuin_preexec() {
20
- if [[ ! ${BLE_ATTACHED-} ]]; then
21
- # With bash-preexec, preexec may be called even for the command run by
22
- # keybindings. There is no general and robust way to detect the
23
- # command for keybindings, but at least we want to exclude Atuin's
24
- # keybindings.
25
- [[ $BASH_COMMAND == '__atuin_history'* && $BASH_COMMAND != "$1" ]] && return 0
26
- fi
27
-
28
local id
29
id=$(atuin history start -- "$1")
30
export ATUIN_HISTORY_ID=$id
0 commit comments