Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/bartekpacia/dotfiles

My very personal development environment setup.
https://github.com/bartekpacia/dotfiles

dotfiles macos unix

Last synced: 13 days ago
JSON representation

My very personal development environment setup.

Awesome Lists containing this project

README

        

# dotfiles

My very personal development environment setup. I refuse to work without it.

![neofetch output](neofetch.png)

### Philosophy

- cross-platform
- work well on any POSIX shell
- do not favor GNU coreutils. Support BSD.
- minimal, simple, obvious
- the less tools have to be installed, the better

## Set up on macOS

On macOS, simply use [strap](https://github.com/MikeMcQuaid/strap).

## Set up on UNIX

On other Unix-like systems, `git clone` this repository to the `$HOME/.dotfiles`
directory.

**SSH**

```console
git clone [email protected]:bartekpacia/dotfiles.git ~/.dotfiles
```

**HTTPS**

```console
git clone https://github.com/bartekpacia/dotfiles.git ~/.dotfiles
```

Once cloned, execute `script/setup`:

```console
~/.dotfiles/script/setup
```

> `script/setup` depends on `curl`, `git`, `zsh`.

## Set up SSH keys

After setting up a new machine, you very likely want to set up SSH
authentication to it.

Get public key from password manager:

```console
op read "op://Personal/main key/public key" > ~/.ssh/main_key.pub
chmod 0400 ~/.ssh/main_key.pub
```

Copy public key to remote machine:

```console
ssh-copy-id -f -i ~/.ssh/main_key.pub $REMOTE_USER@$REMOTE_HOST
```

or use [my `get_ssh_key` script][get_ssh_key]:

```console
get_ssh_key 'Personal' 'main key'
```

## File descriptions

- `ssh/config` SSH config.

- `script/setup_dock` Sets up my Dock the way I want.

- `script/disable_chime` Disables the dumb macOS's startup chime.

- `files/com.googlecode.iterm2.plist` iTerm2 global settings.

- `files/bartek.itermkeymap` iTerm2 global keybindings.

- `files/settings.json` Windows Terminal global settings.

- `local` All scripts in this folder are gitignored and automatically sourced by
zshrc.

Example use case:

- startup shell scripts from JetBrains Toolbox app

[get_ssh_key]: https://github.com/bartekpacia/scripts/blob/master/bin/get_ssh_key