From 066c79fa1412e55a0e87847aa7a1db403f211ca5 Mon Sep 17 00:00:00 2001 From: Maas Lalani Date: Thu, 30 Mar 2023 11:29:32 -0400 Subject: [PATCH] fix(file): respect file path specified in arguments --- file/command.go | 1 + 1 file changed, 1 insertion(+) diff --git a/file/command.go b/file/command.go index 4575fa6..3cf93b5 100644 --- a/file/command.go +++ b/file/command.go @@ -29,6 +29,7 @@ func (o Options) Run() error { } fp := filepicker.New() + fp.CurrentDirectory = path fp.Path = path fp.Height = o.Height fp.AutoHeight = o.Height == 0