8000 GitHub - lgarron/dotfiles: :page_facing_up: My dotfiles and scripts. Also the source for the Homebrew tap `lgarron/lgarron`.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

lgarron/dotfiles

Repository files navigation

Lucas Garron's dotfiles

My own personal configuration files and scripts for various commandline-based tools and apps. Also serves as the lgarron/lgarron Homebrew tap.

Mac

  1. Open Terminal.app
  2. Trigger Xcode commandline tool installation by trying to use git
git
  1. Check out the dotfiles repo.
git clone https://github.com/lgarron/dotfiles ~/Code/git/github.com/lgarron/dotfiles
cd ~/Code/git/github.com/lgarron/dotfiles
  1. Drag & drop Terminal.app into the following permissions in System Settings → Privacy & Security:
    • Full Disk Access
    • Media and Apple Music

Reveal Privacy & Security and Terminal.app like this:

open /System/Library/PreferencePanes/Security.prefPane
open -R /System/Applications/Utilities/Terminal.app
  1. Install dotfiles:
export PATH="$PATH:/opt/homebrew/bin"
make mac-common

Note that make mac-common is what actually installs Homebrew, but the previous line ensures that Homebrew binaries are on the path for the later setup steps.

See ./exported/ for files that must be manually exported/imported.

Ubuntu/Linux

  1. Install bun from: https://bun.sh/
  2. Run:
sudo apt install git make

git clone https://github.com/lgarron/dotfiles ~/Code/git/github.com/lgarron/dotfiles
cd ~/Code/git/github.com/lgarron/dotfiles
make linux-setup

Languages, ecosystems, and runtimes

  • fish
  • bun for TypeScript
  • Rust
  • Homebrew

In addition:

  • bash is needed for two bootstrapping scripts (one for macOS and one for Linux).
  • Ruby is needed for Homebrew formulas.
  • Swift is used for macOS scripts where it is difficult to implement an alternative correctly and safely.

XDG Base Directory Spec

Known compatibility chart: https://wiki.archlinux.org/index.php/XDG_Base_Directory_support

Homebrew tap

This repo serves as the Homebrew tap lgarron/lgarron, so it can be used to install my scripts (from inside this repo) and programs (from various repos):

# Example
brew install --HEAD lgarron/lgarron/sd-card-backup

This uses a trick: Homebrew accepts repository redirect, and https://github.com/lgarron/Homebrew-lgarron redirects to https://github.com/lgarron/dotfiles (due to moving the repo from the latter to the former and back).

Scripts are listed in the ./scripts folder.

License

MPL

About

📄 My dotfiles and scripts. Also the source for the Homebrew tap `lgarron/lgarron`.

Topics

Resources

License

Stars

Watchers

Forks

0