Skip to content

added install script #71

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

Merged
merged 7 commits into from
Mar 4, 2025
Merged

added install script #71

merged 7 commits into from
Mar 4, 2025

Conversation

randomlogin
Copy link
Contributor

Added an install script for quick install.

install.sh Outdated
local reload_needed=false

# Detect shell configuration file
if [ -n "${ZSH_VERSION-}" ]; then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$ZSH_VERSION is only set when you're actually running zsh as your interactive shell but the script executes in sh/bash env. Maybe use $SHELL (returns /bin/zsh for me) or just check if its macos.

install.sh Outdated

# Reload shell if needed
if [ "$reload_status" = "reload" ]; then
if [ -n "${ZSH_VERSION-}" ]; then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same

@buffrr buffrr merged commit 90d6ea8 into spacesprotocol:main Mar 4, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants