Coder Social home page Coder Social logo

dotfiles's Introduction

jkupersmith's dotfiles

My collection of dotfiles. My goal is to use the same configuration on Linux, macOS, and Windows.

I currently use the following platforms:

  • Fedora 39 Workstation
  • macOS 12, 14
  • Windows 11

macOS Notes

xcode-select --install
brew install stow
brew install font-jetbrains-mono-nerd-font
brew install alacritty
brew install tmux
brew install neovim
brew install cmake
brew install ripgrep
brew install fd
brew install hammerspoon
brew install gpg
brew install pinentry-mac

# stow configs
for d in alacritty gitconfig hammerspoon neovim tmux zsh; do stow -t ~ $d; done

# setup pinentry for gpg
echo "pinentry-program $(brew --prefix)/bin/pinentry-mac" >> ~/.gnupg/gpg-agent.conf
killall gpg-agent

Windows Notes

How to get things working on Windows...

Get Scoop and install dependencies

Download Scoop and follow the quickstart. (Other tools like Chocolately are available.)

This is the scoop quickstart:

> Set-ExecutionPolicy RemoteSigned -Scope CurrentUser # Optional: Needed to run a remote script the first time
> irm get.scoop.sh | iex

Install packages:

> scoop install git
> scoop install clangd
> scoop install gcc
> scoop install go
> scoop install python
> scoop install neovim
> scoop install cmake # required by telescope-fzf-native
> scoop install ripgrep # required by telescope

Install other dependencies using winget

winget install "Microsoft.VisualStudio.2022.BuildTools"  # C++ BuildTools also required by telescope-fzf-native
winget install GnuPG.Gpg4win

Use New-Item instead of GNU stow.

> New-Item -ItemType SymbolicLink -Path "$env:USERPROFILE\AppData\Local\nvim" -Target "$env:USERPROFILE\dotfiles\neovim\.config\nvim"
> New-Item -ItemType SymbolicLink -Path "$env:USERPROFILE\.gitconfig" -Target "$env:USERPROFILE\dotfiles\git@home-windows\.gitconfig"

dotfiles's People

Contributors

jkupersmith avatar

Watchers

 avatar

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.