Skip to content

hx --tutor or :tutor don't work when hx is symlink #3768

Closed
@bnoordhuis

Description

@bnoordhuis

Summary

The tutor doesn't work when hx is invoked through a symlink. The real path works.

Reproduction Steps

I tried this:

  1. download and untar helix to $HOME/opt/helix
  2. cd $HOME/bin && ln -s ../opt/helix/hx (~/bin is on the PATH)
  3. hx --tutor

I expected this to happen:

See the tutorial. :-)

Instead, this happened:

Nothing. Empty buffer.

Helix log

No log file was written.

Platform

macOS

Terminal Emulator

Terminal.app

Helix Version

helix 22.08.1 (66276ce)

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions