From 496dd29cb96f79e9ac77668c685bd248849cfd4b Mon Sep 17 00:00:00 2001 From: sharkdp Date: Thu, 9 Apr 2020 09:18:08 +0200 Subject: [PATCH] Add -i option for bash/zsh to output wrapper function --- diagnostics/info.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diagnostics/info.sh b/diagnostics/info.sh index 5d57a7ba..25f9b94b 100755 --- a/diagnostics/info.sh +++ b/diagnostics/info.sh @@ -81,7 +81,7 @@ _bat_wrapper_function_:run() { *bash* | *zsh*) if "$SHELL" --login -i -c 'type bat' 2>&1 | grep 'function' &> /dev/null; then - _out_fence "$SHELL" --login -c 'declare -f bat' + _out_fence "$SHELL" --login -i -c 'declare -f bat' return fi ;;