Quickly and simply install settings, aliases and functions for Bash and Zsh on Linux, macOS, and WSL Shells.
The following configs are installed:
- zsh - configures zsh znap plugin manager, prompt, plugins, aliases
- bash - configured bash settings, bash git prompt
- git - general configuration, aliases, colorization, user settings
Verify and run downloader script to download/install
$ curl -LO https://raw.githubusercontent.com/robertpeteuil/dotfiles/main/downloader
# review script - e.g. cat downloader
$ chmod +x downloader
$ ./downloader
The downloader script performs the following tasks:
- Install
git
if not installed (required to clone thedotfiles
repo) - Clones
dotfiles
repo into the~/.dotfiles
directory (configurable) - Clones
dotfiles-private
repo into the~/.dotfiles/private
directory (configurable) - executes included
install
script
Install script performs actions from install.conf.yaml
- ZSH
- symlinks
zshenv
to $HOME
- symlinks
- Bash
- symlinks
bashrc
andbash_profile
to $HOME - symlinks
bash-git-prompt
andgrc
for bash prompt/colorization
- symlinks
- Git config
- symlinks
gitconfig
,gitignore_global
- symlinks
gitconfig_ssh
(url specific overrides)
- symlinks
.zshenv
read from $HOME, sets $ZDOTDIR.zshrc
read from $ZDOTDIR directory.zshrc
sources the following$HOME/.cache/p10k-insta-prompt
if present- files in
$ZDOTDIR/rc.d
- 01 - history
- 02 - znap install
- 04 - Env and Path
- 06 - prompt setup
- 08 - plugins
marlonrichert/zcolors
# colors for completions and gitzsh-users/zsh-autosuggestions
# Inline suggestionszdharma-continuum/fast-syntax-highlighting
zsh-users/zsh-completions
marlonrichert/zsh-autocomplete
# type-ahead completion
- 10 - options
- 12 - keys
- 20 - zsh specific aliases
- configure zsh dirstack, reload, zshrc edits, showcolors, zmv
- sources
DOTFILES/shell/includes
which includesDOTFILES/shell/aliases
- cross-shell (used by both bash & zsh)DOTFILES/shell/functions
- cross-shell (used by both bash & zsh)- optional files
.bash_profile
- loaded by bash login shell- sources
.bashrc
- sources
.bashrc
- loaded by non-login shells (unless sourced explicitly)- exits if non-interactive or not bash
- sets paths
- sets prompt, colors
- configured brew PATH
- configures GRC
- display linux reboot message, if appropriate
- sources
DOTFILES/shell/includes
which includesDOTFILES/shell/aliases
- cross-shell (used by both bash & zsh)DOTFILES/shell/functions
- cross-shell (used by both bash & zsh)- optional files
Customize this repo by forking it and customizing to your needs.
- This repo uses dotbot bootstrap
- Configuration Info
- Dotbot Wiki