Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation on mac #121

Open
StevenLove opened this issue Feb 21, 2024 · 0 comments
Open

Installation on mac #121

StevenLove opened this issue Feb 21, 2024 · 0 comments

Comments

@StevenLove
Copy link
Member

Following the docs for installation doesn't work for me on macOS 12.7.1.
Here is the relevant section

3. Use sl-sh as primary shell

  • install binary
sudo install -D -m 755 target/release/slosh /usr/local/bin/
  • add slosh to /etc/shells and change login shell to slosh
echo /usr/local/bin/slosh | sudo tee -a /etc/shells
chsh -s /usr/local/bin/slosh

install

  • sudo install -D -m 755 target/release/slosh /usr/local/bin/ doesn't work on my Mac
  • install on Mac is based on BSD and differs from GNU's install in that it doesn't support the -D flag.
  • We could modify the installation instructions to use mkdir -p instead.
  • Alternatively, we could have separate installation instructions for Mac

$PATH

  • On my machine, I need to add /usr/bin/ to my $PATH for common utils like which and less. Should we modify the default init.slosh file to include /usr/bin in the $PATH?

  • We could also mention in these installation instructions for the user to consider manually migrating their ~/.bashrc and ~/.bash_profile to ~/.config/slosh/init.slosh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant