Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alextercete/dotfiles

My dotfiles
https://github.com/alextercete/dotfiles

dotfiles

Last synced: about 2 months ago
JSON representation

My dotfiles

Awesome Lists containing this project

README

        

# Alex's dotfiles

## Setup

### Windows

```
winget install -e --id Git.Git
winget install -e --id JanDeDobbeleer.OhMyPosh
winget install -e --id AgileBits.1Password.CLI
winget install -e --id dandavison.delta
winget install -e --id junegunn.fzf
Install-Module z
Install-Module posh-git
```

### macOS

```
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install git fzf
brew install --cask 1password/tap/1password-cli
git clone https://github.com/ohmyzsh/ohmyzsh.git ~/.oh-my-zsh
```

### Ubuntu

```
sudo apt update
sudo apt install -y curl git zsh socat fzf
git clone https://github.com/ohmyzsh/ohmyzsh.git ~/.oh-my-zsh
chsh -s $(which zsh)
```

## Installation

Download and run the [install script](https://gist.github.com/alextercete/73b3019dc9c057decbb2cb54cb00e88c), then restart your terminal. Alternatively, run the commands below.

### Windows

```
iex "& { $(Invoke-RestMethod https://gist.githubusercontent.com/alextercete/73b3019dc9c057decbb2cb54cb00e88c/raw/dotfiles.ps1) } "
```

### macOS & Ubuntu

```
sh -c "$(curl -s https://gist.githubusercontent.com/alextercete/73b3019dc9c057decbb2cb54cb00e88c/raw/dotfiles.sh)" sh
```

## Configuration

Configure your Git user:

```
git config --file $HOME/.gitconfig.local user.name ""
git config --file $HOME/.gitconfig.local user.email ""
```

If you're using 1Password, configure [commit signing](https://developer.1password.com/docs/ssh/git-commit-signing/):

```
git config --file $HOME/.gitconfig.local user.signingkey "$(op item get "SSH key" --fields "label=public key")"
```