cantino / mcfly

Fly through your shell history. Great Scott!
MIT License
6.78k stars 177 forks source link

please make sure HISTFILE/MCFLY_HISTFILE exists #222

Closed oyearunpal closed 2 years ago

oyearunpal commented 2 years ago

After installing through script , I'm getting following error

thread 'main' panicked at 'McFly error: please make sure HISTFILE/MCFLY_HISTFILE exists (Permission denied (os error 13))', src/shell_history.rs:249:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
cantino commented 2 years ago

What OS? What does $HISTFILE point to?

oyearunpal commented 2 years ago

Ubuntu 20.04.3 LTS (Focal Fossa) /home/$USER/.bash_history

cantino commented 2 years ago

That's very odd. The script is saying it cannot write to that file.

oyearunpal commented 2 years ago

Thanks, @cantino , It resolved the issue.

cantino commented 2 years ago

Great!

On Wed, Jan 12, 2022 at 10:25 PM Arun Pal @.***> wrote:

Closed #222 https://github.com/cantino/mcfly/issues/222.

— Reply to this email directly, view it on GitHub https://github.com/cantino/mcfly/issues/222#event-5885179071, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAUO63XIBABFURYDGM4HRTUVZV3ZANCNFSM5LRRHQUQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>