macos script fix
This commit is contained in:
parent
86e4afe721
commit
29fa093507
@ -1,6 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
# Installing homebrew
|
||||
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
echo "✅ Homebrew installed"
|
||||
|
||||
|
||||
# Installing z
|
||||
|
||||
brew install z
|
||||
echo "✅ Z installed"
|
||||
|
||||
|
||||
# Installing ohmyzsh
|
||||
|
||||
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||
@ -8,21 +20,23 @@ sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/too
|
||||
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
|
||||
|
||||
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
|
||||
|
||||
# Installing homebrew
|
||||
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
echo "✅ Ohmyzsh installed, .zshrc created, zsh-autosuggestions installed"
|
||||
|
||||
|
||||
# Installing neovim and config
|
||||
|
||||
brew install neovim
|
||||
echo "✅ Neovim installed"
|
||||
|
||||
mkdir -p ~/.config/nvim
|
||||
|
||||
@ -35,11 +49,14 @@ vim.cmd("set number relativenumber")
|
||||
vim.cmd("highlight Normal guibg=transparent")
|
||||
vim.opt.clipboard = "unnamedplus"
|
||||
EOF
|
||||
echo "✅ Config written (~/.config/nvim/init.lua)"
|
||||
echo "✅ Neovim installed, config written (~/.config/nvim/init.lua)"
|
||||
|
||||
|
||||
# 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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user