macos first install script
This commit is contained in:
parent
dbecf986d3
commit
940405cb44
@ -6,3 +6,4 @@
|
|||||||
- `alacritty-install.sh` installs alacritty, creates my config file and installs catpuccin frappe theme
|
- `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
|
- `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
|
- `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
|
||||||
|
|||||||
37
macos-first-install.sh
Normal file
37
macos-first-install.sh
Normal file
@ -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 <<EOF > ~/.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
|
||||||
Loading…
Reference in New Issue
Block a user