slim-bean / loki-shell

How to use Loki to store and centralize your shell history from anywhere and search it using ctrl-r and fzf
Apache License 2.0
83 stars 8 forks source link

Installation issues on MacOS #18

Open Djun-Kim-at-LDS opened 1 year ago

Djun-Kim-at-LDS commented 1 year ago

I love this project - great idea!

I tried installing this on my Apple laptop running MacOS Ventura (13.2) augmented by a number of packages installed via Homebrew, including gnu coreutils.

Cloning this repo and running install worked with no errors.

However, the shipped version of bash is extremely old (GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin22), from 2007!) and chokes on the loki-shell.bash script in the test at line 27. zsh is fine.

Also, the out-of-the-box date function called in both the .bash and .zsh versions of loki-shell does not understand --iso-8601=seconds, nor the -d flag.

Using the gnu gdate version from Homebrew should fix this issue.

Adding some notes to the documentation might be helpful for prospective users on MacOS.

samjewell commented 11 months ago

I installed last week on MacOS (Ventura 13.6.1) and had no issues. Thought I should drop a comment here, in case others need encouragement to try on MacOS, or in case this issue can be closed.