bacon icon indicating copy to clipboard operation
bacon copied to clipboard

bacon --prefs only works in rust project.

Open SebastianJL opened this issue 1 year ago • 0 comments

I usually use nvim $(bacon --prefs) to configure bacon. I just found out that bacon needs to be run in a rust project. This makes sense I guess for most other commands but it would be nice if given the --prefs option this would work from anywhere on the system. The exact error is as follows:

$ bacon --prefs
Error: Cargo.toml file not found.
bacon must be launched 
* in a rust project directory
* or with a rust project directory given in argument
(a rust project directory contains a Cargo.toml file or has such parent)

If anyone can give me some pointers or the OK that this is a change that is desired I'll try and implement it myself.

SebastianJL avatar Aug 02 '22 11:08 SebastianJL