{"id":13898405,"url":"https://github.com/charlax/dotfiles","last_synced_at":"2025-04-30T07:32:16.051Z","repository":{"id":2162611,"uuid":"3108462","full_name":"charlax/dotfiles","owner":"charlax","description":"My configuration files","archived":false,"fork":false,"pushed_at":"2024-04-10T13:58:20.000Z","size":1189,"stargazers_count":24,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-10T19:49:05.739Z","etag":null,"topics":["dotfiles","shell","vim"],"latest_commit_sha":null,"homepage":"","language":"Vim Script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"shpedoikal/tpm-tools","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/charlax.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"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}},"created_at":"2012-01-05T07:06:19.000Z","updated_at":"2024-04-15T00:38:41.741Z","dependencies_parsed_at":"2023-07-06T17:46:22.171Z","dependency_job_id":"b4e75ca4-913b-4d25-8a31-1072a001c30d","html_url":"https://github.com/charlax/dotfiles","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlax%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlax%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlax%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlax%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/charlax","download_url":"https://codeload.github.com/charlax/dotfiles/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224202400,"owners_count":17272763,"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","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":["dotfiles","shell","vim"],"created_at":"2024-08-06T18:04:16.785Z","updated_at":"2024-11-12T01:33:53.702Z","avatar_url":"https://github.com/charlax.png","language":"Vim Script","funding_links":[],"categories":["Vim Script"],"sub_categories":[],"readme":"\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n## Table of Contents\n\n- [Prerequisites](#prerequisites)\n  - [Mac Os X](#mac-os-x)\n  - [Linux Debian/Ubuntu/Arch](#linux-debianubuntuarch)\n- [Installation](#installation)\n- [Post-install checklist on a fresh installation - Mac Os X](#post-install-checklist-on-a-fresh-installation---mac-os-x)\n  - [Initialization](#initialization)\n  - [Mac Os X Settings](#mac-os-x-settings)\n  - [Apps to install](#apps-to-install)\n- [Misc](#misc)\n  - [Profiling ZSH](#profiling-zsh)\n- [Useful software (not installed by default)](#useful-software-not-installed-by-default)\n- [Checklist before reinstall](#checklist-before-reinstall)\n- [Contributing](#contributing)\n- [Inspiration](#inspiration)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n## Prerequisites\n\n### Mac Os X\n\nSee fresh install below.\n\n### Linux Debian/Ubuntu/Arch\n\n```bash\ncurl https://raw.githubusercontent.com/charlax/dotfiles/master/install/provision.sh -o ./provision.sh\nchmod a+x provision.sh\n\n./provision.sh\n# full install:\n./provision.sh --full\n```\n\nUse this script to fully automate a new machine setup (e.g. with Vagrant):\n\n```bash\ninstall/provision.sh\n```\n\nOtherwise, see Installation section below.\n\n## Installation\n\n```bash\nDOTFILES=\"$HOME/.dotfiles\"\ngit clone https://github.com/charlax/dotfiles.git $DOTFILES\n# or\ngit clone git@github.com:charlax/dotfiles.git $DOTFILES\n\n# If you want only dotfiles\npython3 $DOTFILES/install.py\n\n# On a fresh install\npython3 $DOTFILES/install.py --with-all\n```\n\nTo install all the required software, run:\n\n```bash\n~/.dotfiles/install/install-apps-all.sh\n```\n\n## Post-install checklist on a fresh installation - Mac Os X\n\n### Initialization\n\n1. Install any OS upgrade\n2. Start with installing XCode from the App Store - it takes quite a long time. Open it and accept the T\u0026C.\n3. Install [Homebrew](https://brew.sh/) (see above)\n4. Run the steps below in the terminal:\n\n```bash\n# Make sure the account name is correct:\nwhoami\n# If it needs to be changed, create a new temporary admin. Follow this guide:\n# https://support.apple.com/en-us/HT201548\n\n# Install dependencies\nbrew install git python3\n\n# Create an SSH key and add it to Github\nssh-keygen -t ed25519 -C \"youremail@example.com\"\npbcopy \u003c ~/.ssh/id_rsa.pub\n# Then add it to Github\n\n# Verify you can connect to github:\nssh -T git@github.com\n\n# Install local git settings\ncp $DOTFILES/git/gitconfig.local.template $DOTFILES/git/.gitconfig.local\n```\n\nOnce this is done, follow the instruction above (Installation).\n\n### Mac Os X Settings\n\n- Change the computer name\n- Add French input source\n- Set keyboard shortcuts\n  - Set the change input source shortcuts\n\n### Apps to install\n\nManually (see the script in `install/` for automatically installed apps):\n\n- Annotate (App Store)\n- Grammarly\n- Keynote (App Store)\n- Kindle (App Store)\n- Numbers (App Store)\n- Pages (App Store)\n- Pixelmator (App Store)\n- Things (App Store)\n- Time Out (App Store)\n- [VirtualBox](https://www.virtualbox.org/wiki/Downloads) (better to install manually as it requires Max Os X permissions)\n- iA Writer (App Store)\n\nSetup the following apps:\n\n- Password application\n- Backup application\n- Chrome\n- Rectangle (give permissions)\n- Things cloud\n- Printers\n- Open [UTC Time](https://apps.apple.com/us/app/utc-time/id1538245904?mt=12) at login\n- Setup [MeetingBar](https://github.com/leits/MeetingBar) (`brew install meetingbar`)\n\n## Misc\n\n- You can copy the dotfiles in the current directory through `copy-dotfiles-here.sh`\n\n### Profiling ZSH\n\nUse `zprof`:\n\n```\n# At the beginning of your file, e.g. zshrc\nzmodload zsh/zprof\n\n...\n\n# At the end:\nzprof\n```\n\n## Useful software (not installed by default)\n\nSee [Awesome tools](./doc/awesome-tools.md)\n\n## Checklist before reinstall\n\n- Run `ncdu`\n- Backup local configuration (`find $DOTFILES -iname \"*.local.*\"`)\n- Backup SSH keys (`ls ~/.ssh`)\n- Backup GPG keys\n  - Check keys: `gpg --list-secret-keys --keyid-format LONG`\n  - Export: `gpg -o ~/Downloads/private.gpg --export-options backup --export-secret-keys 120501+charlax@users.noreply.github.com`\n- Check each app for backup, go through list in `Applications/`\n  - Anki\n- Backup hidden files in repo\n  - Check `git status --ignored` in dotfiles\n- Check folders listed below\n- Make sure branches in repo are pushed (use `clean-up-weekly`)\n- Search the Internet for \"what folders to backup\"\n- Search the Internet for \"checklist before factory reset\"\n- Backup photos (too important)\n- Make sure iCloud sync is finished (check status bar in Finder)\n- What's most important? Is it backed up?\n  - Pictures\n- Empty Bin\n- Check VirtualMachines\n- [Check Apple's advices](https://support.apple.com/en-us/HT201065)\n\nBefore factory reset:\n\n- [ ] Sign out of iCloud account\n- [ ] Disconnect Bluetooth devices\n- [ ] Sign out of iMessages\n\nFolders to check:\n\n```text\n/Library\n~\n~/CodePerso\n~/Library\n```\n\n## Contributing\n\nCheckout [CONTRIBUTING.md](./CONTRIBUTING.md)\n\n## Inspiration\n\n- [holman](https://github.com/holman/dotfiles)\n- [dotfiles.github.io](https://dotfiles.github.io/inspiration/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharlax%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcharlax%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharlax%2Fdotfiles/lists"}