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

https://github.com/progamesigner/dotfiles

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

shell

Last synced: over 1 year ago
JSON representation

My dotfiles

Awesome Lists containing this project

README

          

# Dotfiles

A minimal, portable (Linux & macOS), and optimized for [devcontainer](https://containers.dev/) dotfiles.

## Installation

```sh
git clone https://github.com/progamesigner/dotfiles ~/.dotfiles
export GIT_USER_NAME=""
export GIT_USER_EMAIL=""
~/.dotfiles/install.sh
```

## Usage

This dotfiles will configure platforms (macOS, Linux, and DevContainers), Git, GnuPG, SSH, and ZSH.

### Platforms

#### Linux

Nothing configured currently.

#### macOS

It will touch `$DOTTARGET/.hushlogin` file to skip login messages. This can be skipped with `NO_HUSH_LOGIN=1`.

#### DevContainers

It will copy `/etc/gitattributes` and `/etc/gitignore` in containers.

### Git

This will configure some defaults to Git. This can be skipped with `NO_GIT=1`.

### GnuPG

This will configure GPG to use `pinentry-mac` if it's available. Also install browser native messaging manifest for [mailvelope](https://mailvelope.com/). This can be skipped with `NO_GNUPG=1`.

### SSH

This will configure SSH to include some default files. Support `*.user.conf` files to customize. This can be skipped with `NO_SSH=1`.

### ZSH

This will configure ZSH to source some default files. It will load `$ZSH_PROFILE/*.zsh` files in starting-up. This can be skipped with `NO_ZSH=1`.

## Example

In my real setup, I use [Syncthing](https://syncthing.net/) to sync this repository with some `.*` folders, including ignore file for Syncthing, private network SSH configurations, Docker, Kubernetes, and even customized ZSH (mostly [oh-my-zsh](https://ohmyz.sh/) and [zsh-users](https://github.com/zsh-users)) etc.