Skip to content

ialobanov/macos-new-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

macos-new-setup

Sudo without password

sudo tee /etc/sudoers.d/$USER <<EOF
$USER ALL=(ALL) NOPASSWD: ALL
EOF
sudo chmod 0440 /etc/sudoers.d/$USER && sudo visudo -c

Hostname

sudo scutil --set ComputerName Macmini-M4 && sudo scutil --set HostName Macmini-M4

Software installation

Brew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

zprofile

{ unsetopt HIST_SAVE; tee -a $HOME/.zprofile <<EOF
## initialize homebrew environment (for Apple Silicon)
eval "\$(/opt/homebrew/bin/brew shellenv)"

## set up ssh agent for Bitwarden
export SSH_AUTH_SOCK=/Users/$USER/.bitwarden-ssh-agent.sock
EOF
; setopt HIST_SAVE; }

Logout or:

eval "$(/opt/homebrew/bin/brew shellenv)"

Terminal apps

brew install --quiet starship eza bat duf gnu-tar zoxide neovim btop ansible ansible-lint

Cask apps

brew install --quiet --cask bitwarden --cask brave-browser --cask ghostty --cask telegram-desktop --cask obsidian --cask thunderbird --cask visual-studio-code --cask font-zed-mono-nerd-font
brew install --quiet --cask elmedia-player --cask anydesk --cask stats --cask qbittorrent --cask tunnelblick --cask shottr --cask postman --cask zed --cask eqmac

Logout.

Zsh

configuration

Git

configuration

Neovim

mkdir -p $HOME/.config/nvim && git clone https://github.com/ialobanov/nvim-plain.git $HOME/.config/nvim

Obsidian vaults

mkdir $HOME/vault-personal && mkdir -p $HOME/solidsoft/vault-solidsoft
git clone git@github.com:ialobanov/obsidian-vault.git $HOME/vault-personal

Starship

configuration

Wezterm

configuration

Ghostty

configuration

Zed

configuration

VSCode

configuration

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published