{"id":31830885,"url":"https://github.com/puigfp/dotfiles","last_synced_at":"2025-10-11T21:29:09.315Z","repository":{"id":86214355,"uuid":"226297175","full_name":"puigfp/dotfiles","owner":"puigfp","description":"My dotfiles (for macOS)","archived":false,"fork":false,"pushed_at":"2025-08-10T10:56:42.000Z","size":214,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-10T12:33:47.566Z","etag":null,"topics":["macos"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/puigfp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-12-06T09:53:07.000Z","updated_at":"2025-08-10T10:56:45.000Z","dependencies_parsed_at":"2025-08-10T12:21:32.826Z","dependency_job_id":"3693860b-c13d-4f9a-912b-35e977b36fb9","html_url":"https://github.com/puigfp/dotfiles","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/puigfp/dotfiles","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puigfp%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puigfp%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puigfp%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puigfp%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/puigfp","download_url":"https://codeload.github.com/puigfp/dotfiles/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puigfp%2Fdotfiles/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279008860,"owners_count":26084517,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["macos"],"created_at":"2025-10-11T21:29:07.785Z","updated_at":"2025-10-11T21:29:09.309Z","avatar_url":"https://github.com/puigfp.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dotfiles\n\n## cheatsheet\n\n### sane macOS parameters\n\n```sh\n./defaults.sh\n```\n\n### xcode commands line tools\n\n- install cli tools (C/C++ compiler and other things)\n\n  ```sh\n  xcode-select --install\n  ```\n\n### brew\n\n- install brew: https://brew.sh/\n\n- setup completions: https://docs.brew.sh/Shell-Completion\n\n- install/upgrade all the things\n\n  ```sh\n  brew bundle --verbose\n  ```\n\n- check which things are missing from the `Brewfile`\n\n  ```sh\n  brew bundle cleanup\n  ```\n\n- actually remove those things\n\n  ```sh\n  brew bundle cleanup --force\n  ```\n\n- figure where a package is in the dependency tree\n\n  ```sh\n  brew deps --tree --installed | less\n  ```\n\n### zsh\n\n- add brew-installed zsh to standard shells:\n\n  ```sh\n  sudo sh -c \"echo $(which zsh) \u003e\u003e /etc/shells\"\n  ```\n\n- change user shell\n\n  ```sh\n  chsh -s $(which zsh)\n  ```\n\n### stow\n\n- simlink dotfiles dry run\n\n  ```sh\n  stow --simulate --verbose --target $HOME \u003cfolder\u003e\n  ```\n\n- simlimk dotfiles\n\n  ```sh\n  stow --verbose --target $HOME \u003cfolder\u003e\n  ```\n\n### submodules\n\n- clone repository, including submodules\n\n  ```sh\n  git clone --recurse-submodules\n  ```\n\n- init submodules (useful when you forgot the `--recurse-submodules` when cloning)\n\n  ```sh\n  git submodule update --init --recursive\n  ```\n\n- pull latest master of all submodules\n\n  ```sh\n  git submodule foreach git pull origin HEAD\n  ```\n\n### iterm\n\n- [install patched Meslo font for powerline10k](https://github.com/romkatv/powerlevel10k#meslo-nerd-font-patched-for-powerlevel10k)\n\n  ```sh\n  p10k configure\n  ```\n\n  (quit after the font is installed)\n\n### visual studio code\n\n- backup extensions\n\n  ```sh\n  code --list-extensions | sort \u003e vscode_extensions\n  ```\n\n- restore extensions\n\n  ```sh\n  code --install-extension \u003cextension\u003e\n  # or\n  for ext in $(cat vscode_extensions); do code --install-extension $ext; done\n  ```\n\n### emacs\n\n#### major gotcha\n\nThe \"railwaycat/emacsmacport/emacs-mac\" brew formula comes both in a \"classic\" formula flavor and a cask one. Use the cask, it's the only one creating an `Emacs.app` folder in `Applications/`.\n\n#### init doom emacs\n\n```sh\ndoom install\n```\n\n#### when nothing works\n\n```sh\nrm -rf .emacs.d/.local/\ndoom install\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpuigfp%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpuigfp%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpuigfp%2Fdotfiles/lists"}