haikuports: Git package includes mksh incompatible shell includes in the default profile

When starting a new shell with mksh with git installed this happens: `Welcome to the Haiku shell.

/bin/mksh: /etc/profile.d/git-completion.sh[251]: syntax error: unexpected ‘((’ /bin/mksh: /etc/profile.d/git-prompt.sh[166]: syntax error: unexpected ‘((’ ~ `

I don’t know when this happened. those files clearly mention beeing for bash/zsh only so should not be added to the deafult profile.d which is for posix compatible shells.

About this issue

  • Original URL
  • State: closed
  • Created 8 months ago
  • Comments: 20 (20 by maintainers)

Most upvoted comments

It was a bit hard to tell since the files are still there. I deleted them now and i think it is fixed.

Will tell if this occurs again