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:
- gitfast: Autocompletion and aliases for git
- zsh-autosuggestions: Grey prompt completion suggestions
- colored-man-pages: Color highlighting for manual pages
- command-not-found: Gives suggestions when a command is not found
- Configuration files for the following tools:
- screen: Enables scrolling
- tmux: Enables mouse support
# 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 from this repo.
sh -c "$(curl -fsLS chezmoi.io/get)" -- -b ~/.local/bin init --apply gabe-microsoft
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.