From 1881b5c6cce58a9944bcad2b8c68a1b4efcf77b2 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Wed, 26 Nov 2025 09:01:56 -0500 Subject: Add support for openbsd --- install.sh | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'install.sh') diff --git a/install.sh b/install.sh index 96b8fa8..f569512 100755 --- a/install.sh +++ b/install.sh @@ -8,31 +8,29 @@ set -e main() { if os_is_macos; then - if ! bootstrap_macos; then - log_error "Failed to bootstrap install script" - exit 1 - fi - elif os_is_linux; then - if ! bootstrap_linux; then - log_error "Failed to bootstrap install script" - exit 1 - fi + bootstrap_macos + elif os_is_openbsd; then + bootstrap_openbsd else log_error "Unexpected OS: $(os_print)" exit 1 - fi + fi || { + log_error "Failed to bootstrap install script" + exit 1 + } + if os_is_macos; then + stow ghostty + fi stow executables stow nvim stow zsh stow git stow gpg stow tmux - stow ghostty stow aerc stow isync stow msmtp - stow atuin stow lazygit log_success "Successfully linked all dotfiles." -- cgit v1.2.3