Skip to content

Highlighting --help messages incompatibility with sdkman and zsh #3486

@ThibaultDelaune-pro

Description

@ThibaultDelaune-pro

What steps will reproduce the bug?

  1. install sdkman
  2. follow the process to highlight help messages with global zsh aliases (with alias -g into the ~/.zshrc)
  3. run another shell

What happens?
Any new shell show the following errors

/home/my-home/.sdkman/src/sdkman-env.sh:153: parse error near `>&'
/home/my-home/.sdkman/bin/sdkman-init.sh:114: parse error near `>&'

And sdkman doesn't work anymore.

What did you expect to happen instead?
No error in the shell and sdkman still working.

How did you install bat?

sudo apt install bat

bat version and environment

  • bat 0.24.0
  • zsh 5.9 (x86_64-ubuntu-linux-gnu)
  • ubuntu - 24.04.3
  • sdkman 5.20.0 (native: 0.7.14 - linux x86_64)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions