Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

346 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

macOS

  1. Install Homebrew
    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  2. 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
  3. Configure Alacritty
    curl -fsSLO --create-dirs --output-dir ~/.config/alacritty/ https://github.com/jackblackevo/dotfiles/raw/main/macOS/.config/alacritty/alacritty.toml
  4. 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
  5. 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
  6. Copy .zimrc file (for Zim) to home directory
    curl -fsSLO --output-dir ~/ https://github.com/jackblackevo/dotfiles/raw/main/macOS/.zimrc
  7. Copy .p10k.zsh file (for Powerlevel10k) to home directory
    curl -fsSLO --output-dir ~/ https://github.com/jackblackevo/dotfiles/raw/main/.p10k.zsh
  8. Reload Zsh configuration
    zsh
  9. Copy .tmux.conf file to home directory
    curl -fsSLO --output-dir ~/ https://github.com/jackblackevo/dotfiles/raw/main/macOS/.tmux.conf
  10. Copy .tigrc file to home directory
    curl -fsSLO --output-dir ~/ https://github.com/jackblackevo/dotfiles/raw/main/macOS/.tigrc
  11. 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
  12. 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

WSL - Ubuntu

  1. 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
  2. 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
  3. 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
  4. Copy .zimrc file (for Zim) to home directory
    curl -fsSLO --output-dir ~/ https://github.com/jackblackevo/dotfiles/raw/main/Ubuntu/.zimrc
  5. Copy .p10k.zsh file (for Powerlevel10k) to home directory
    curl -fsSLO --output-dir ~/ https://github.com/jackblackevo/dotfiles/raw/main/.p10k.zsh
  6. Reload Zsh configuration
    zsh
  7. 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"
  8. Configure Windows Terminal
    {
        // 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"
        },
    }
  9. Set Zsh as default shell
    chsh -s $(which zsh)
  10. Copy .tmux.conf file to home directory
    curl -fsSLO --output-dir ~/ https://github.com/jackblackevo/dotfiles/raw/main/Ubuntu/.tmux.conf
  11. 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
  12. Copy .tigrc file to home directory
    curl -fsSLO --output-dir ~/ https://github.com/jackblackevo/dotfiles/raw/main/Ubuntu/.tigrc
  13. 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
  14. 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
  15. 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

About

My dotfiles for macOS / Ubuntu (WSL)

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages