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
 			;;