diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2025-11-26 09:01:56 -0500 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2025-11-26 09:01:56 -0500 |
| commit | 1881b5c6cce58a9944bcad2b8c68a1b4efcf77b2 (patch) | |
| tree | 33cdba30255cb9699975b0ffd11d8bc29424aa96 /install.sh | |
| parent | Add wallpapers (diff) | |
| download | dotfiles-1881b5c6cce58a9944bcad2b8c68a1b4efcf77b2.zip | |
Add support for openbsd
Diffstat (limited to 'install.sh')
| -rwxr-xr-x | install.sh | 22 |
1 files changed, 10 insertions, 12 deletions
@@ -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." |