38 lines
801 B
Bash
38 lines
801 B
Bash
#!/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
|