aboutsummaryrefslogtreecommitdiffstats
path: root/install.sh
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2025-11-26 09:01:56 -0500
committerEugene Triguba <hello@eugenetriguba.com>2025-11-26 09:01:56 -0500
commit1881b5c6cce58a9944bcad2b8c68a1b4efcf77b2 (patch)
tree33cdba30255cb9699975b0ffd11d8bc29424aa96 /install.sh
parentAdd wallpapers (diff)
downloaddotfiles-1881b5c6cce58a9944bcad2b8c68a1b4efcf77b2.zip
Add support for openbsd
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh22
1 files changed, 10 insertions, 12 deletions
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."