diff options
Diffstat (limited to 'src/shell')
| -rw-r--r-- | src/shell/atuin.bash | 2 | ||||
| -rw-r--r-- | src/shell/atuin.zsh | 2 |
2 files changed, 2 insertions, 2 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" } diff --git a/src/shell/atuin.zsh b/src/shell/atuin.zsh index 32cbe6a1..e35e16e0 100644 --- a/src/shell/atuin.zsh +++ b/src/shell/atuin.zsh @@ -13,7 +13,7 @@ export ATUIN_SESSION=$(atuin uuid) export ATUIN_HISTORY="atuin history list" _atuin_preexec(){ - id=$(atuin history start "$1") + local id; id=$(atuin history start "$1") export ATUIN_HISTORY_ID="$id" } |
