[go: up one dir, main page]

Skip to content

๐Ÿ”ง Everything I need on a fresh OSX machine.

Notifications You must be signed in to change notification settings

arienshibani/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

14 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Ari's Dotfiles

Everything I need on a fresh OSX machine. Installed by one script.

  • ๐Ÿบ Installs Homebrew (macOS / Linux)
    • then proceeds to install all the software described in the Brewfile via Homebrew ๐Ÿค
  • ๐Ÿ˜ฎ Sets up Oh My Zsh and a good .zshrc config
  • ๐Ÿ”Œ Installs the Powerline font for the terminal
  • ๐Ÿงฉ Installs all the VSCode extensions I need
  • ๐Ÿ”‘ Configures GPG for me, so I can sign my commits from the get go! โœ๏ธ

Quick start

git clone git@github.com:stacc/onboarding-script.git
cd onboarding-script
sh install.sh

sh install.sh

Automagically sets up my stuff on a brand new OS X or Linux machine ๐Ÿช„

๐Ÿบ Homebrew
  Brew is installed.

๐Ÿ˜ฎ Oh My Zsh
  Looks like Oh My Zsh is already installed

๐Ÿ”— Copying dotfiles
  ยท Linked Brewfile to /Users/ari/.Brewfile.
  ยท Linked gitconfig to /Users/ari/.gitconfig.
  ยท Linked zshrc to /Users/ari/.zshrc.

โšก๏ธ Install Powerline fonts?[Y/N] y
  Copying fonts...
  Powerline fonts installed to /Users/ari/Library/Fonts

๐Ÿป Run 'Brew bundle'?[Y/N] y
 Using homebrew/bundle
 Using homebrew/cask
 Using homebrew/core
 Using homebrew/cask-fonts
 Using font-fira-code-nerd-font
 Using gh
 Using node
 Using fnm
 Using helm
 Using helmfile
 Using kubectl
 Using stern
 Using kubectx
 Using gnupg
 Using stacc-next
 Using visual-studio-code
 Using 1password
 Using 1password-cli
 Using postman
 Using slack

 Homebrew Bundle complete! 23 Brewfile dependencies now installed.

 ๐Ÿงฉ Install suggested VSCode extentions? [Y/N] y
  โœ” copilot
  โœ” copilot-chat
  โœ” gitblame
  โœ” gitlens
  โœ” vscode-pull-request-github
  โœ” vscode-conventional-commits
  โœ” vscode-eslint
  โœ” vscode-styled-components
  โœ” vscode-kubernetes-tools
  โœ” vscode-base64
  โœ” vscode-yaml
  โœ” vscode-xml
  โœ” vscode-commons
  โœ” vscode-todo-highlight
  โœ” vscode-stylelint
  โœ” vscode-import-cost
  โœ” vscodeintellicode
  โœ” code-spell-checker
  โœ” nbsp-vscode
  โœ” postman-for-vscode
  โœ” markdown-preview-enhanced
  โœ” intellicode-api-usage-examples
  โœ” pdf

๐Ÿ”‘ Configuring GPG
  gpg-agent[691337]: gpg-agent running and available

FAQ / Common issues

Brew: command not found

If you get the following message from the installation script.

๐Ÿป Run 'Brew bundle'?[Y/N] y
install.sh: line 131: brew: command not found

Run this command in your terminal to add Homebrew to your PATH: eval "$(/opt/homebrew/bin/brew shellenv)"

Github wont let me clone stuff.. ๐Ÿฅฒ

Itโ€™s a good idea to generate a fresh SSH key for your new setup:

  • Open up your terminal ๐Ÿง‘โ€๐Ÿ’ป
    • Generate a new SSH key: ssh-keygen -t ed25519 -C "<your_email_or_whatever>"
  • Add the new SSH key to GitHub ๐Ÿ”
    • pbcopy < ~/.ssh/id_ed25519.pub
    • Go to your github account settings, navigate to SSH and GPG keys, and click on New SSH Key
    • Paste the copied public key into the provided field and save it.

Misc. Setup

โŒ˜ + K

Allowing โŒ˜ + K to clear the integrated terminal in VSCode is essential for me.

[
  {
    "key": "cmd+k",
    "command": "workbench.action.terminal.clear",
    "when": "terminalFocus && terminalProcessSupported"
  }
]

About

๐Ÿ”ง Everything I need on a fresh OSX machine.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published