aboutsummaryrefslogtreecommitdiffstats
path: root/src/shell/atuin.bash
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/shell/atuin.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shell/atuin.bash b/src/shell/atuin.bash
index e47e3c98..6295a4e4 100644
--- a/src/shell/atuin.bash
+++ b/src/shell/atuin.bash
@@ -2,7 +2,7 @@ ATUIN_SESSION=$(atuin uuid)
export ATUIN_SESSION
_atuin_preexec() {
- id=$(atuin history start "$1")
+ local id; id=$(atuin history start "$1")
export ATUIN_HISTORY_ID="$id"
}