#!/usr/bin/env sh

input="$1"
command_history=$(printf '%b' "${input}" | sed 's/^[0-9]*[[:space:]]*//')

(printf '%b' "${command_history}" | bat --color=always --wrap never -l sh --style=plain || printf '%b' "${command_history}") 2>/dev/null
