Skip to content

askpt/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

123 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

What is?

dotfiles are a group of special files that store important user settings, such as terminal options and plugins. Using this installation, I can easily roam my settings across multiple machines, including macOS, Linux, WLS2, and GitHub Codespaces. This is possible due to chezmoi. There are some settings that are specific to me, so use this repository as a guide.

Prerequisites

  • Azure CLI must be installed.
  • You must be logged in to Azure CLI using az login for all features to work correctly.

Installation

Run this script in the terminal:

sh -c "$(curl -fsLS chezmoi.io/get)" -- init --apply askpt

Work vs personal machine

Chezmoi now detects a work machine using a marker file in your home directory:

  • If ~/.work exists, the machine is treated as work.
  • If ~/.work does not exist, the machine is treated as personal.

To mark a machine as work:

touch ~/.work

To switch back to personal:

rm ~/.work

Thanks To

I want to thank all the people that worked on the following repositories:

Contributors