From 940405cb44991fe88b4968f71f59e05d7ba18126 Mon Sep 17 00:00:00 2001 From: Vladislav Date: Sat, 3 Jan 2026 13:44:58 +0300 Subject: [PATCH] macos first install script --- README.md | 1 + macos-first-install.sh | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 macos-first-install.sh diff --git a/README.md b/README.md index a13c923..dc6d70a 100644 --- a/README.md +++ b/README.md @@ -6,3 +6,4 @@ - `alacritty-install.sh` installs alacritty, creates my config file and installs catpuccin frappe theme - `check-ip.sh` checks the public IP address linked to the domain name - `svg-parse.py` parses the svg russia map and outputs titles of the regions and their ids +- `macos-first-install` installs basic soft i need on clean machine diff --git a/macos-first-install.sh b/macos-first-install.sh new file mode 100644 index 0000000..d9354e0 --- /dev/null +++ b/macos-first-install.sh @@ -0,0 +1,37 @@ +#!/bin/bash + + +# Installing ohmyzsh + +sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" + + +# Installing homebrew + +/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" + + +# Installing neovim and config + +brew install neovim +echo "✅ Neovim installed" + +mkdir -p ~/.config/nvim + +cat < ~/.config/nvim/init.lua +vim.cmd("set expandtab") +vim.cmd("set tabstop=2") +vim.cmd("set softtabstop=2") +vim.cmd("set shiftwidth=2") +vim.cmd("set number relativenumber") +vim.cmd("highlight Normal guibg=transparent") +vim.opt.clipboard = "unnamedplus" +EOF +echo "✅ Config written (~/.config/nvim/init.lua)" + + +# Installing obsidian, figma, firefox + +brew install --cask obsidian +brew install --cask figma +brew install --cask firefox