on master help sign in
Add -i option for bash/zsh to output wrapper function
commit496dd29cb96f79e9ac77668c685bd248849cfd4b authorsharkdp <davidpeter@web.de> dateThu 9 Apr 2020, 09:18 (7 years ago) parent116d76a
1 file changed+1−1
diagnostics/info.sh+1−1
diagnostics/info.sh+1−1
@@ -81,7 +81,7 @@ _bat_wrapper_function_:run() {
8181
8282 *bash* | *zsh*)
8383 if "$SHELL" --login -i -c 'type bat' 2>&1 | grep 'function' &> /dev/null; then
84− _out_fence "$SHELL" --login -c 'declare -f bat'
84+ _out_fence "$SHELL" --login -i -c 'declare -f bat'
8585 return
8686 fi
8787 ;;