My Development Environment Setup Mar 30, 2020

Please keep in mind that this is only my environment, just for your convenience.

Dev Env

SSH Agent

Auto load password protected private key

Step 1: Add the private key

ssh-add --apple-use-keychain --apple-load-keychain ~/.ssh/id_ed25519

Step 2: add/update ~/.ssh/config file

Host * 
  UseKeychain yes
  AddKeysToAgent yes
  IdentityFile ~/.ssh/id_ed25519

Step 3: add/update ~/Library/LaunchAgents/ssh.add.a.plist with

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>ssh.add.a</string>
    <key>ProgramArguments</key>
    <array>
        <string>/usr/bin/ssh-add</string>
        <string>-A</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
</dict>
</plist>

VSCode configurattion

Sync settings/exts with Github account

Do not install tools locally, try using docker if possible

AWS CLI, Oracle OCI etc

Add this line to the `~/.zshrc` file

alias aws='docker run --rm -ti -v ~/.aws:/root/.aws amazon/aws-cli'
alias oci='docker run --rm -it -v ~/.oci:/oracle/.oci ghcr.io/oracle/oci-cli'

Advertisement

Latest Updates