Get editor from env #1

Open
opened 2025-02-04 12:17:46 +01:00 by nevaforget · 0 comments
Owner

currently sublime-text is hardcoded as editor, tried to use os.Getenv(EDITOR) but it returns a weird escaped string

run_editor() failed with
 exec: "\"subl\"": executable file not found in $PATH
currently sublime-text is hardcoded as editor, tried to use `os.Getenv(EDITOR)` but it returns a weird escaped string ``` run_editor() failed with exec: "\"subl\"": executable file not found in $PATH ```
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nevaforget/sshfs_connect#1
No description provided.