+3
-1
atuin.elv
+3
-1
atuin.elv
···
8
8
9
9
set edit:after-readline = [$@edit:after-readline {|line|
10
10
try {
11
-
set-env ATUIN_HISTORY_ID (atuin history start -- $line)
11
+
if (not-eq (str:trim-space $line) '') {
12
+
set-env ATUIN_HISTORY_ID (atuin history start -- $line)
13
+
}
12
14
} catch e {
13
15
unset-env ATUIN_HISTORY_ID
14
16
}