No description
Find a file
2025-11-10 10:27:35 +00:00
.github/workflows Update container.yml 2022-05-27 23:16:19 +01:00
.nova update IDE config 2022-05-09 18:29:42 +01:00
container add zsh-vcs to container 2022-06-01 21:48:34 +01:00
scripts add scripts 2025-11-10 10:27:35 +00:00
.editorconfig add git config 2022-06-01 20:39:22 +01:00
.gitconfig add note to gitconfig docs 2022-06-01 20:44:32 +01:00
.gitignore improve sync 2024-01-18 16:59:53 +00:00
.zprofile tweaks for non-brew deno 2025-06-11 11:03:15 +01:00
.zshrc add scripts 2025-11-10 10:27:35 +00:00
Blue Night.prompttheme add prompt theme 2024-02-22 13:22:22 +00:00
Blue Night.terminal updates 2024-02-06 20:50:21 +00:00
Brewfile migrate deno 2025-06-17 22:43:26 +01:00
README.md updates 2025-06-11 11:10:54 +01:00
ssh_config tweak ssh config 2025-08-20 14:08:37 +01:00
sync.sh migrate deno 2025-06-17 22:43:26 +01:00

robb-j's dotfiles

These files are my dotfiles to be shared between development machines

files

zshrc - common zsh configuration, usage:

# ~/.zprofile
# (for Apple Silicon)
eval "$(/opt/homebrew/bin/brew shellenv)"

export ZSH="$HOME/.oh-my-zsh"
export DOTFILES_DIR="$HOME/dev/dotfiles"
source "$DOTFILES_DIR/.zprofile"

# (optional)
# export PATH=$(brew --prefix openssh)/bin:$PATH

# ~/.zshrc
source "$DOTFILES_DIR/.zshrc"

ssh_config - ssh configuration

# ~/.ssh/config
Include ~/dev/dotfiles/ssh_config

gitconfig - git configuration

# ~/.gitconfig
[include]
  path = ~/dev/dotfiles/.gitconfig

blue-night - custom macOS terminal profile. Import it in Terminal.app and export it back to apply updates.

global commands

# Start editing the zshrc and re-source it afterwards
zshrc

# Update the dotfiles repo (if the repo is clean)
update_dotfiles

helpful commands

# cd to/this/directory

# check brew dependencies
brew bundle check

# generate a new brewfile
brew bundle dump

# update from the current brewfile
brew bundle install

# uninstall dependencies not in brewfile
brew bundle cleanup

# create a defaults diff
defaults read > tmp/before.txt
  # do some changes ...
defaults read > tmp/after.txt
opendiff tmp/before.txt tmp/after.txt

# force install rosetta
sudo /usr/sbin/softwareupdate --install-rosetta --agree-to-license

# install deno
# > path / completions: (no)
curl -fsSL https://deno.land/install.sh | sh

container use

# cd to/this/folder

# generate server key
ssh-keygen container/server_key

# setup authorized keys
cat ~/.ssh/id_rsa.pub > container/authorized_keys

# build and run development
./container/dev.sh

# ssh into the container
ssh -p 30022 user@0.0.0.0

# stop the container (in a new terminal)
docker ps
docker stop $CONTAINER_ID