Skip to content

marcrohlfs/dotfiles

Repository files navigation

Dotfiles

Management of configuration files for my workstations.

Prerequisites

Zsh

Change the default login shell to Zsh on Mac:

  1. Open System Preferences
  2. Go to Users & Groups
  3. Ensure that making changes is unlocked
  4. Right click the current user and select Advanced Options...
  5. Select Login Shell: /bin/zsh
  6. Confirm with OK

Homebrew

Install Homebrew:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Installation

Install Dotfiles:

cd ${HOME}
git clone --recurse-submodules https://github.com/marcrohlfs/dotfiles.git .dotfiles
cd .dotfiles
./install

Configuration

To provide custom (and secret) settings, create a file named .zsh.env in your home directory.

Here are some settings used by this setup:

# Configure the .gitconfig file based on the oh-my-zsh-custom/plugins/git/gitconfig.tmpl.
export GIT_USER_NAME='Your Name'
export [email protected]
export GIT_USER_SIGNINGKEY=[THE_SIGNINGKEY_IF_COMMIT_SIGNING_IS_WANTED_OR_OMIT]

# The protected branches that won't appear or be deleted when using the aliases 'gbrmg' or 'gbrmgd'.
export GIT_PROTECTED_BRANCH_PATTERNS='main|master|maintenance-.*'

# Setting the JIRA_URL loads the Oh My Zsh's 'jira' plugin.
export JIRA_URL=[THE_JIRA_URL]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages