I try to change different themes ,but got no response
bat 0.12.1

bat --theme [theme] doesn't set the theme; it specifies which theme to use for highlighting. What's happening is bat isn't getting stuck, but rather just waiting for some input through STDIN.
If you want to make sure that the theme is GitHub every time you run bat, you can add --theme GitHub to your bat config file (which can be found through bat --config-file).
Thanks a lot. I misunderstood the --theme <theme> Set the color theme for syntax highlighting.
I added environment variable in .bashrc : export BAT_THEME="GitHub", then it works :)
Most helpful comment
bat --theme [theme]doesn't set the theme; it specifies which theme to use for highlighting. What's happening isbatisn't getting stuck, but rather just waiting for some input through STDIN.If you want to make sure that the theme is
GitHubevery time you runbat, you can add--theme GitHubto your bat config file (which can be found throughbat --config-file).