@@ -35,7 +35,6 @@ _tool_:description() {
3535 _collects "Version information for 'less'."
3636}
3737
38−
3938# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4039
4140_bat_:run() {
@@ -71,14 +70,14 @@ _bat_wrapper_:run() {
7170_bat_wrapper_function_:run() {
7271 case "$("$SHELL" --version | head -n 1)" in
7372 *fish*)
74− if "$SHELL" --login -c 'type bat' 2>&1 | grep 'function' &>/dev/null; then
73+ if "$SHELL" --login -i -c 'type bat' 2>&1 | grep 'function' &>/dev/null; then
7574 _out_fence "$SHELL" --login -c 'functions bat'
7675 return
7776 fi ;;
7877
7978 *bash*|*zsh*)
80− if "$SHELL" --login -c 'type bat' 2>&1 | grep 'function' &>/dev/null; then
81− _out_fence "$SHELL" --login -i -c 'declare -f bat'
79+ if "$SHELL" --login -i -c 'type bat' 2>&1 | grep 'function' &>/dev/null; then
80+ _out_fence "$SHELL" --login -c 'declare -f bat'
8281 return
8382 fi ;;
8483