From ba06a0c356581a167a1685a24e09bf9e2cb8a94a Mon Sep 17 00:00:00 2001 From: Matthias Johnson Date: Sat, 15 Mar 2025 10:34:19 -0600 Subject: [PATCH] unset -f temp functions --- dotgit.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dotgit.sh b/dotgit.sh index 0f47533..e901248 100644 --- a/dotgit.sh +++ b/dotgit.sh @@ -30,6 +30,7 @@ if [[ $(command -v fzf) ]]; then --preview-window "right,60%,<60(down,75%),+{2}/2" \ -q "${@:-}" cd ${OLDPWD} + unset -f _dotgit_ge; }; _dotgit_ge' # shellcheck disable=SC2142 @@ -40,6 +41,7 @@ if [[ $(command -v fzf) ]]; then --preview "bat -n -H {2} --color=always {1}" \ --preview-window "right,60%,<60(down,75%),+{2}/2" cd ${OLDPWD} + unset -f _dotgit_gg; }; _dotgit_gg' else # simplified grep but no "interactive file select"