To be able to install the dotfiles, you are going to need git
and various developer tools. These are shipped with the macos command-line-tools. To install these run:
xcode-select --install
You also need to have Homebrew installed. Follow instructions on their website to get started.
The dotfiles are configured to be installed under ~/.dotfiles-macos/
by default and should be cloned into $HOME
.
See location to change this.
- Clone this repository with:
git clone https://github.com/asjafjell/dotfiles-macos.git ~/.dotfiles-macos
Important
Beware that some of the settings (especially those for macos) may require sudo
privileges.
- Run the python installation script with temporary reference to dotfiles
export DOTFILES=~/.dotfiles-macos
python3 install.py
Everything can be customized, and it is recommended to get an overlook of what the dotfiles install and adjust them to preferred settings.
If you want to install the dotfiles somewhere else some paths are dependent on the DOTFILES variable.
in .zshrc
export DOTFILES="$HOME/.dotfiles-macos/"
Note
There also is a reference to $DOTFILES
in install.py
which will have to be updated.
- Enable SSH in 1Password
- Activate all bells and whistles and let 1Password do it's magic.
- If you are not asked for a login by 1Password when doing e.g.
git pull
, see the official guide here
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"