/dotfiles

My dotfiles for macOS / Ubuntu (WSL)

Primary LanguageShell

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
    curl -fsSLO --output-dir /tmp/ https://github.com/jackblackevo/dotfiles/raw/main/macOS/Brewfile \
    && brew update \
    && brew upgrade \
    && brew bundle --file /tmp/Brewfile \
    && brew cleanup \
    && rm /tmp/Brewfile
  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 .zshenv and .zshrc file to home directory
    curl -fsSLO --output-dir ~/ https://github.com/jackblackevo/dotfiles/raw/main/macOS/.zshenv \
    && curl -fsSLO --output-dir ~/ https://github.com/jackblackevo/dotfiles/raw/main/macOS/.zshrc
  5. Copy .zimrc file (for Zim) to home directory
    curl -fsSLO --output-dir ~/ https://github.com/jackblackevo/dotfiles/raw/main/macOS/.zimrc
  6. Copy .p10k.zsh file (for Powerlevel10k) to home directory
    curl -fsSLO --output-dir ~/ https://github.com/jackblackevo/dotfiles/raw/main/.p10k.zsh
  7. Reload Zsh configuration
    zsh
  8. Copy .tmux.conf file to home directory
    curl -fsSLO --output-dir ~/ https://github.com/jackblackevo/dotfiles/raw/main/.tmux.conf
  9. Copy .tigrc file to home directory
    curl -fsSLO --output-dir ~/ https://github.com/jackblackevo/dotfiles/raw/main/macOS/.tigrc
  10. Install AstroNvim (use unattended installation)
    git clone git@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 | xargs sudo apt install -y && sudo apt clean
  2. Copy .zshenv 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/.zshrc
  3. Copy .zimrc file (for Zim) to home directory
    curl -fsSLO --output-dir ~/ https://github.com/jackblackevo/dotfiles/raw/main/Ubuntu/.zimrc
  4. Copy .p10k.zsh file (for Powerlevel10k) to home directory
    curl -fsSLO --output-dir ~/ https://github.com/jackblackevo/dotfiles/raw/main/.p10k.zsh
  5. Reload Zsh configuration
    zsh
  6. 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"
  7. 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"
        },
    }
  8. Set Zsh as default shell
    chsh -s $(which zsh)
  9. Copy .tmux.conf file to home directory
    curl -fsSLO --output-dir ~/ https://github.com/jackblackevo/dotfiles/raw/main/.tmux.conf
  10. Install win32yank.exe
    See: Clipboard integration
    Note:
    winget.exe install win32yank
  11. Make diff-highlight executable
    sudo chmod +x $(git --exec-path)/../../share/doc/git/contrib/diff-highlight/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 -fsSLO --create-dirs --output-dir ~/.local/bin https://github.com/neovim/neovim/releases/download/stable/nvim.appimage && chmod u+x ~/.local/bin/nvim.appimage && ln -sf ~/.local/bin/nvim.appimage ~/.local/bin/nvim
  14. Install AstroNvim (use unattended installation)
    git clone git@github.com:jackblackevo/astronvim_config.git ~/.config/astronvim \
    && NVIM_APPNAME=astronvim nvim --headless +q