scripts/macos-first-install.sh
2026-01-10 14:11:09 +03:00

41 lines
991 B
Bash
Executable File

#!/bin/bash
# Installing zsh-autosuggestions plugin
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
# Writing .zshrc file
cat <<EOF > ~/.zshrc
# Basics
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="murilasso"
plugins=(git zsh-autosuggestions)
source $ZSH/oh-my-zsh.sh
# Aliases
alias drs="python3 manage.py runserver"
alias dea=". env/bin/activate"
# z
. /opt/homebrew/etc/profile.d/z.sh
EOF
echo "✅ Ohmyzsh installed, .zshrc created, zsh-autosuggestions installed"
# Installing z
brew install z
echo "✅ Z installed"
source ~/.zshrc
# Installing neovim and config
./nvim-install.sh
# Installing obsidian, figma, firefox
brew install --cask obsidian
echo "✅ Obsidian installed"
brew install --cask figma
echo "✅ Figma installed"
brew install --cask firefox
echo "✅ Firefox installed"
brew install --cask telegram
echo "✅ Telegram installed"
brew install --cask vscodium
echo "✅ VSCodium installed"