summaryrefslogtreecommitdiffstats
path: root/diagnostics
diff options
context:
space:
mode:
authorsharkdp <davidpeter@web.de>2020-04-09 09:18:08 +0200
committerDavid Peter <sharkdp@users.noreply.github.com>2020-04-09 09:20:03 +0200
commit496dd29cb96f79e9ac77668c685bd248849cfd4b (patch)
tree12921faa97b97a93c2946c08133ca227ff3ed6fc /diagnostics
parent116d76a00f968cfd225d7186c335717761609bd9 (diff)
Add -i option for bash/zsh to output wrapper function
Diffstat (limited to 'diagnostics')
-rwxr-xr-xdiagnostics/info.sh2
1 files changed, 1 insertions, 1 deletions
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
;;