Skip to content

roughcoder/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nbartons dotfiles

uses GNU Stow to symlink dotfiles and a simeple shell script to configure mac with settings

tools

  • macos default settings
  • install cli tools
  • install software
  • settings for dev tools

prerequisites

the following tools installed.

install via brew

Install Apps

brew cask install abstract /
    alfred /
    android-platform-tools /
    authy /
    charles /
    dashlane /
    discord /
    docker /
    firefox /
    google-chrome /
    grammarly /
    iterm2 /
    postman /
    sketch /
    slack /
    spectacle /
    spotify /
    visual-studio-code /

Install Tools

brew install /
    awscli /
    docker /
    zsh-syntax-highlighting /
    docker-compose /
    git /
    jq /
    nvm /
    stow /
    thefuck / 
    watchman /
    yarn /
    z /

Setup SSH

Generate SSH keys

ssh-keygen -t rsa -b 4096 -C "neil@roughcoder.com"

Start up SSH agent and add key

eval "$(ssh-agent -s)"
ssh-add -K ~/.ssh/id_rsa

Copy SSH to clipboard

pbcopy < ~/.ssh/id_rsa.pub

Manually add it to GitHub, AWS etc.

install

install gnu stow on a mac

brew install stow

installing on ubunto

sudo apt-get install stow

clone repo into your home folder

cd ~
git clone https://github.com/roughcoder/dotfiles/
cd dotfiles

install the required config files

stow bash # install .bash files
stow git # install git config files

install plugins for oh-my-zsh

Setup Mac

Setup my perferred defaults across the mac

./dotfiles/macos/defaults.sh

Enter your password, when complete restart your machine.

managing vscode settings and plugins

Save list of vscode plugins and to text file

code --list-extensions >> vs_code_extensions_list.txt

Transfer the newly created file to the machine that you want to install those extensions to. On that machine you would:

cat vs_code_extensions_list.txt | xargs -n 1 code --install-extension

Which will then go through each extension in that file and install the extension.

If you want a clean install (AKA remove all existing extensions on that machine) you could run this before you install the new extensions (otherwise you will remove those new extensions too). BE CAREFUL as this will remove all extensions in VS Code:

code --list-extensions | xargs -n 1 code --uninstall-extension

resources and inspiration

About

mac setup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published