antonmedv / walk

Terminal file manager
MIT License
3.22k stars 89 forks source link

option --icons crashes if a directory is specified #90

Closed sol2070 closed 1 year ago

sol2070 commented 1 year ago

I'm on Arch Linux, with Fish terminal. If I use the --icons option together with a directory, for example:

walk --icons /directory

the program crashes with this error:

panic: open /home/username/--icons: no such file or directory

goroutine 1 [running]:
main.(*model).list(0xc0001ce000)
    /home/runner/work/walk/walk/main.go:593 +0x2d6
main.main()
    /home/runner/work/walk/walk/main.go:101 +0x27b

Thanks for this great program!

antonmedv commented 1 year ago

Fixed in 1.15.2

sol2070 commented 1 year ago

You mean the latest v1.5.2? That's actually what I'm using.