gabe-microsoft / dotfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gabe's dotfiles

This repo contains the dotfiles to configure Gabe's preferred Linux environment. It is assumed that zsh and oh-my-zsh are installed before applying these dotfiles using chezmoi.

The following shell customizations are defined:

  • Oh-my-zsh theme: Powerlevel10k
    • Prompt style: Rainbow
    • Character set: Unicode
    • Show current time: No
    • Prompt separators: Angled
    • Prompt heads: Sharp
    • Prompt tails: Flat
    • Prompt height: One line
    • Prompt spacing: Compact
    • Prompt flow: Concise
    • Enable Transient Prompt: No
  • Oh-my-zsh plugins:
  • Configuration files for the following tools:
    • screen: Enables scrolling
    • tmux: Enables mouse support

Installation

Install zsh and oh-my-zsh

# Install zsh.
sudo apt-get update && sudo apt-get install --yes zsh

# Set default shell to zsh.
sudo chsh $USER -s $(which zsh)

# Install oh-my-zsh.
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Install chezmoi and apply dotfiles

# Install chezmoi and apply dotfiles from this repo.
sh -c "$(curl -fsLS chezmoi.io/get)" -- -b ~/.local/bin init --apply gabe-microsoft

Install in VS Code Development Container or Codespaces

Use the following settings:

{
  "dotfiles.repository": "gabe-microsoft/dotfiles",
  "dotfiles.targetPath": "~/dotfiles",
  "dotfiles.installCommand": "~/dotfiles/install.sh"
}

For details, see Personalizing dev containers and chezmoi with containers.

About

License:MIT License


Languages

Language:Shell 100.0%