diff options
Diffstat (limited to 'src/shell')
| -rw-r--r-- | src/shell/atuin.bash | 3 | ||||
| -rw-r--r-- | src/shell/atuin.zsh | 8 |
2 files changed, 10 insertions, 1 deletions
diff --git a/src/shell/atuin.bash b/src/shell/atuin.bash index 038e4423..40bed30e 100644 --- a/src/shell/atuin.bash +++ b/src/shell/atuin.bash @@ -1,4 +1,5 @@ -export ATUIN_SESSION=$(atuin uuid) +ATUIN_SESSION=$(atuin uuid) +export ATUIN_SESSION _atuin_preexec() { id=$(atuin history start "$1") diff --git a/src/shell/atuin.zsh b/src/shell/atuin.zsh index 15f2492b..32cbe6a1 100644 --- a/src/shell/atuin.zsh +++ b/src/shell/atuin.zsh @@ -1,3 +1,11 @@ +# shellcheck disable=SC2034,SC2153,SC2086,SC2155 + +# Above line is because shellcheck doesn't support zsh, per +# https://github.com/koalaman/shellcheck/wiki/SC1071, and the ignore: param in +# ludeeus/action-shellcheck only supports _directories_, not _files_. So +# instead, we manually add any error the shellcheck step finds in the file to +# the above line ... + # Source this in your ~/.zshrc autoload -U add-zsh-hook |
