Code Monkey home page Code Monkey logo

dotfiles's Introduction

dotfiles

Thank you to joshjohanning/dotfiles for creating the original dotfiles repository. dotfiles.

Setup

These are instructions on how to set up your local environment by creating symbolic links (symlinks) to the dotfiles in this repo:

  1. Create dotfiles repository, ie: mkdir ~/dotfiles && cd ~/dotfiles && git init
  2. Run the ln -s commands below to create the appropriate symlinks
  3. Commit your changes to the dotfiles repository
ln -s ~/dotfiles/.zshrc ~/.zshrc
ln -s ~/dotfiles/.p10k.zsh ~/.p10k.zsh
ln -s ~/dotfiles/.gitconfig ~/.gitconfig

Unlink

To remove the symlinks, run the following commands:

unlink ~/.zshrc
unlink ~/.p10k.zsh
unlink ~/.gitconfig

dotfiles with GitHub Codespaces

install.sh installs zsh plugins, copies over .zshrc and .p10k.zsh, and sets other defaults (like directory text color and time zone).

Mark install.sh as executable: git add install.sh --chmod=+x

See link for more info

Brewfile

Running this command exports formulae, casks, and VS Code extensions to a file:

# creating a Brewfile
brew bundle dump --file=~/dotfiles/Brewfile --force
# installing a Brewfile
brew bundle install --file=~/dotfiles/Brewfile

VS Code

My default profile is saved as Default.code-profile (exported manually via Code > Settings > Profiles)

Extensions are exported via the brew command above.

iTerm2

My iTerm2 profile is saved as iterm2-profile.json (exported manually via iTerm2 > Settings > Profiles > Other Actions > Save Profile as JSON)

GitHub CLI Extensions

Exporting a list of installed gh extensions:

gh extension list | awk '{print $3}' > gh-extensions-list.txt

Updating OhMyZsh and PowerLevel10k

omz update
git -C ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k pull

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.