Repository files navigation
Install Homebrew
/bin/bash -c " $( curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh) "
Install all dependencies from the Brewfile through Homebrew Bundle
brew update \
&& brew upgrade \
&& curl -fsSL https://github.com/jackblackevo/dotfiles/raw/main/macOS/Brewfile | brew bundle --file=- \
&& brew cleanup
Configure Alacritty
curl -fsSLO --create-dirs --output-dir ~ /.config/alacritty/ https://github.com/jackblackevo/dotfiles/raw/main/macOS/.config/alacritty/alacritty.toml
Copy .zprofile and .zshrc file to home directory
curl -fsSLO --output-dir ~ / https://github.com/jackblackevo/dotfiles/raw/main/macOS/.zprofile \
&& curl -fsSLO --output-dir ~ / https://github.com/jackblackevo/dotfiles/raw/main/macOS/.zshrc
Copy .ssh/config file to ~/.ssh directory (keeps SSH keys in ssh-agent with passphrases stored in the macOS Keychain, pairing with the ssh-add --apple-load-keychain run in .zshrc)
curl -fsSLO --create-dirs --output-dir ~ /.ssh/ https://github.com/jackblackevo/dotfiles/raw/main/macOS/.ssh/config
Copy .zimrc file (for Zim ) to home directory
curl -fsSLO --output-dir ~ / https://github.com/jackblackevo/dotfiles/raw/main/macOS/.zimrc
Copy .p10k.zsh file (for Powerlevel10k ) to home directory
curl -fsSLO --output-dir ~ / https://github.com/jackblackevo/dotfiles/raw/main/.p10k.zsh
Reload Zsh configuration
Copy .tmux.conf file to home directory
curl -fsSLO --output-dir ~ / https://github.com/jackblackevo/dotfiles/raw/main/macOS/.tmux.conf
Copy .tigrc file to home directory
curl -fsSLO --output-dir ~ / https://github.com/jackblackevo/dotfiles/raw/main/macOS/.tigrc
Install the latest LTS Node.js through nvm (set up by the zsh-nvm Zim module) and the global npm packages from npm-pkgs (currently the Playwright Agent CLI ; browsers download on first use)
nvm install --lts \
&& nvm alias default ' lts/*' \
&& curl -fsSL https://github.com/jackblackevo/dotfiles/raw/main/npm-pkgs | grep -vE ' ^[[:space:]]*#' | xargs npm install -g
Install AstroNvim (use unattended and isolated installation)
See: AstroNvim configuration
git clone https://github.com/jackblackevo/astronvim_config.git ~ /.config/astronvim \
&& NVIM_APPNAME=astronvim nvim --headless +q
Install packages
sudo apt update \
&& sudo apt upgrade -y \
&& curl -fsSL https://github.com/jackblackevo/dotfiles/raw/main/Ubuntu/pkgs | grep -vE ' ^[[:space:]]*#' | xargs sudo apt install -y \
&& sudo apt clean \
&& curl -fsSL https://github.com/jackblackevo/dotfiles/raw/main/Ubuntu/win-pkgs | grep -vE ' ^[[:space:]]*#' | xargs winget.exe install
Copy .zshenv, .zprofile and .zshrc file to home directory
curl -fsSLO --output-dir ~ / https://github.com/jackblackevo/dotfiles/raw/main/Ubuntu/.zshenv \
&& curl -fsSLO --output-dir ~ / https://github.com/jackblackevo/dotfiles/raw/main/Ubuntu/.zprofile \
&& curl -fsSLO --output-dir ~ / https://github.com/jackblackevo/dotfiles/raw/main/Ubuntu/.zshrc
Copy .ssh/config file to ~/.ssh directory (re-adds SSH keys to the systemd-managed ssh-agent on use, pairing with the SSH_AUTH_SOCK set in .zshenv and the ssh-add run in .zshrc)
curl -fsSLO --create-dirs --output-dir ~ /.ssh/ https://github.com/jackblackevo/dotfiles/raw/main/Ubuntu/.ssh/config
Copy .zimrc file (for Zim ) to home directory
curl -fsSLO --output-dir ~ / https://github.com/jackblackevo/dotfiles/raw/main/Ubuntu/.zimrc
Copy .p10k.zsh file (for Powerlevel10k ) to home directory
curl -fsSLO --output-dir ~ / https://github.com/jackblackevo/dotfiles/raw/main/.p10k.zsh
Reload Zsh configuration
Download & Install Hack Nerd Font
curl -fsSLO --output-dir /mnt/c/temp/ https://github.com/ryanoasis/nerd-fonts/raw/master/patched-fonts/Hack/Regular/HackNerdFontMono-Regular.ttf \
&& explorer.exe " c:\temp"
Configure Windows Terminal
Set Zsh as default shell
Copy .tmux.conf file to home directory
curl -fsSLO --output-dir ~ / https://github.com/jackblackevo/dotfiles/raw/main/Ubuntu/.tmux.conf
Make diff-highlight executable and symlink to ~/.local/bin
sudo chmod +x /usr/share/doc/git/contrib/diff-highlight/diff-highlight \
&& mkdir -p ~ /.local/bin/ \
&& ln -sf /usr/share/doc/git/contrib/diff-highlight/diff-highlight ~ /.local/bin/diff-highlight
Copy .tigrc file to home directory
curl -fsSLO --output-dir ~ / https://github.com/jackblackevo/dotfiles/raw/main/Ubuntu/.tigrc
Install Neovim stable version (release build)
curl -fsSL --create-dirs --output ~ /.local/bin/nvim.appimage https://github.com/neovim/neovim/releases/download/stable/nvim-linux-x86_64.appimage \
&& chmod u+x ~ /.local/bin/nvim.appimage \
&& ln -sf ~ /.local/bin/nvim.appimage ~ /.local/bin/nvim
Install the latest LTS Node.js through nvm (set up by the zsh-nvm Zim module) and the global npm packages from npm-pkgs (currently the Playwright Agent CLI ; browsers download on first use)
nvm install --lts \
&& nvm alias default ' lts/*' \
&& curl -fsSL https://github.com/jackblackevo/dotfiles/raw/main/npm-pkgs | grep -vE ' ^[[:space:]]*#' | xargs npm install -g
Install AstroNvim (use unattended and isolated installation)
See: AstroNvim configuration
git clone https://github.com/jackblackevo/astronvim_config.git ~ /.config/astronvim \
&& NVIM_APPNAME=astronvim nvim --headless +q
You can’t perform that action at this time.
{ // actions [ { "command": { "action": "copy", "singleLine": false }, "keys": "ctrl+shift+c" }, { "command": "paste", "keys": "ctrl+shift+v" }, ], // profiles.list "colorScheme": "One Half Dark", "font": { "face": "Hack Nerd Font Mono" }, }