cireu / counsel-ffdata

Use ivy interface to access your firefox bookmarks and history in Emacs
GNU General Public License v3.0
34 stars 4 forks source link

Guess counsel-ffdata-database-path on macOS #3

Open xuchunyang opened 5 years ago

xuchunyang commented 5 years ago

I have the following setting which works for me:

(setq
 counsel-ffdata-database-path
 "/Users/xcy/Library/Application Support/Firefox/Profiles/nvzyvh9v.default-release/places.sqlite")

However, I also have a yz7cgomb.default directory which doesn't contains places.sqlite

~/Library/Application Support/Firefox/Profiles $ ls -l
total 0
drwx------@ 49 xcy  staff  1568 Jul  2 12:08 nvzyvh9v.default-release
drwx------@  3 xcy  staff    96 Jun  8 18:40 yz7cgomb.default
~/Library/Application Support/Firefox/Profiles $ find . -type f -name places.sqlite
./nvzyvh9v.default-release/places.sqlite
~/Library/Application Support/Firefox/Profiles $

I have not figured how to change the code.

cireu commented 5 years ago

I would like to add an option to allow user to select different profiles. Currently you can speficy the profile you want to use by customizing counsel-ffdata-database-path

mnewt commented 5 years ago

I second this. I also noticed it didn't detect the database path for Firefox Developer Edition on my system. I'm also willing to send a PR when I have a few free moments. Thanks for a great package!

cireu commented 5 years ago

On Wed, 28 Aug 2019 04:19:05 +0800, Matthew Newton wrote:

[1 <text/plain; UTF-8 (7bit)>] [2 <text/html; UTF-8 (7bit)>] I second this. I also noticed it didn't detect the database path for Firefox Developer Edition on my system. I'm also willing to send a PR when I have a few free moments. Thanks for a great package!

― You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

I guess Firefox developer edition should use same(or similar) directory as stable edition, I don't have a Mac computer so counsel-ffdata lacks for path detection under MacOS :(.

peng051410 commented 4 years ago

Great package!

cireu commented 4 years ago

Great package!

It can be greater if you have idea on how to detect database path on MacOS ;)