Skip to content

Conversation

@randomlogin
Copy link
Member

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