mirror of
https://github.com/atuinsh/atuin.git
synced 2025-06-15 22:47:14 +02:00
fixes (#813)
This commit is contained in:
parent
c30b457fc5
commit
c4e68ccbcb
@ -6,6 +6,9 @@ let ATUIN_KEYBINDING_TOKEN = $"# (random uuid)"
|
|||||||
|
|
||||||
let _atuin_pre_execution = {||
|
let _atuin_pre_execution = {||
|
||||||
let cmd = (commandline)
|
let cmd = (commandline)
|
||||||
|
if ($cmd | is-empty) {
|
||||||
|
return
|
||||||
|
}
|
||||||
if not ($cmd | str starts-with $ATUIN_KEYBINDING_TOKEN) {
|
if not ($cmd | str starts-with $ATUIN_KEYBINDING_TOKEN) {
|
||||||
let-env ATUIN_HISTORY_ID = (atuin history start -- $cmd)
|
let-env ATUIN_HISTORY_ID = (atuin history start -- $cmd)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user