helix icon indicating copy to clipboard operation
helix copied to clipboard

`gf` can't open directories that start with `~`

Open MyApaulogies opened this issue 8 months ago • 3 comments

Summary

I'm able to gf /home/user/.config/helix and get a file picker prompt, as well as ~/.config/helix/config.toml, but when I try it on ~/.config/helix/, I get an error: Open file failed: Is a directory (os error 21). This bug seems to apply to all directories starting with a ~.

Reproduction Steps

I tried this:

  1. hx
  2. i
  3. ~/.config/helix
  4. gf

I expected the directory to open in a file picker.

Instead, I get the error Open file failed: Is a directory (os error 21).

Helix log

No response

Platform

Linux

Terminal Emulator

Alacritty

Installation Method

dnf

Helix Version

helix 24.3 (2cadec0b)

MyApaulogies avatar Jun 14 '24 04:06 MyApaulogies