My very personal development environment setup.
MIT License
My very personal development environment setup. I refuse to work without it.
On macOS, simply use strap.
On other Unix-like systems, git clone
this repository to the $HOME/.dotfiles
directory.
SSH
git clone [email protected]:bartekpacia/dotfiles.git ~/.dotfiles
HTTPS
git clone https://github.com/bartekpacia/dotfiles.git ~/.dotfiles
Once cloned, execute script/setup
:
~/.dotfiles/script/setup
script/setup
depends oncurl
,git
,zsh
.
After setting up a new machine, you very likely want to set up SSH authentication to it.
Get public key from password manager:
op read "op://Personal/main key/public key" > ~/.ssh/main_key.pub
chmod 0400 ~/.ssh/main_key.pub
Copy public key to remote machine:
ssh-copy-id -f -i ~/.ssh/main_key.pub $REMOTE_USER@$REMOTE_HOST
or use my get_ssh_key
script:
get_ssh_key 'Personal' 'main key'
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: