aboutsummaryrefslogtreecommitdiffstats
path: root/community/atuin/dont-pollute-shell-env.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/atuin/dont-pollute-shell-env.patch')
-rw-r--r--community/atuin/dont-pollute-shell-env.patch40
1 files changed, 0 insertions, 40 deletions
diff --git a/community/atuin/dont-pollute-shell-env.patch b/community/atuin/dont-pollute-shell-env.patch
deleted file mode 100644
index b5c12835a12..00000000000
--- a/community/atuin/dont-pollute-shell-env.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-Patch-Source: https://github.com/ellie/atuin/pull/408
---
-From 0837c46983a1f0a15748318fab3ed618671714ea Mon Sep 17 00:00:00 2001
-From: Jakub Jirutka <jakub@jirutka.cz>
-Date: Sat, 14 May 2022 02:22:00 +0200
-Subject: [PATCH] Don't pollute shell environment - remove 'id' variable
-
----
- src/shell/atuin.bash | 3 +--
- src/shell/atuin.zsh | 3 +--
- 2 files changed, 2 insertions(+), 4 deletions(-)
-
-diff --git a/src/shell/atuin.bash b/src/shell/atuin.bash
-index e47e3c98..f0302291 100644
---- a/src/shell/atuin.bash
-+++ b/src/shell/atuin.bash
-@@ -2,8 +2,7 @@ ATUIN_SESSION=$(atuin uuid)
- export ATUIN_SESSION
-
- _atuin_preexec() {
-- id=$(atuin history start "$1")
-- export ATUIN_HISTORY_ID="$id"
-+ export ATUIN_HISTORY_ID=$(atuin history start "$1")
- }
-
- _atuin_precmd() {
-diff --git a/src/shell/atuin.zsh b/src/shell/atuin.zsh
-index 32cbe6a1..2326c3b2 100644
---- a/src/shell/atuin.zsh
-+++ b/src/shell/atuin.zsh
-@@ -13,8 +13,7 @@ export ATUIN_SESSION=$(atuin uuid)
- export ATUIN_HISTORY="atuin history list"
-
- _atuin_preexec(){
-- id=$(atuin history start "$1")
-- export ATUIN_HISTORY_ID="$id"
-+ export ATUIN_HISTORY_ID=$(atuin history start "$1")
- }
-
- _atuin_precmd(){