{"id":13996099,"url":"https://github.com/mkasberg/dotfiles","last_synced_at":"2025-06-15T15:12:36.931Z","repository":{"id":50193589,"uuid":"254701667","full_name":"mkasberg/dotfiles","owner":"mkasberg","description":"🛠️ Mike's dotfiles. Managed with https://www.chezmoi.io/","archived":false,"fork":false,"pushed_at":"2024-08-25T18:41:34.000Z","size":1936,"stargazers_count":45,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-25T19:53:28.331Z","etag":null,"topics":["chezmoi","config","dotfiles","linux","zsh"],"latest_commit_sha":null,"homepage":"","language":"Vim Script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mkasberg.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}},"created_at":"2020-04-10T18:01:12.000Z","updated_at":"2024-08-25T18:41:37.000Z","dependencies_parsed_at":"2024-08-25T19:49:58.428Z","dependency_job_id":"4ed27d7e-312b-4166-ab39-c7a94e527720","html_url":"https://github.com/mkasberg/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/mkasberg%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkasberg%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkasberg%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkasberg%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkasberg","download_url":"https://codeload.github.com/mkasberg/dotfiles/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225544174,"owners_count":17486064,"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":["chezmoi","config","dotfiles","linux","zsh"],"created_at":"2024-08-09T14:03:48.880Z","updated_at":"2025-06-15T15:12:36.706Z","avatar_url":"https://github.com/mkasberg.png","language":"Vim Script","readme":"# Mike Kasberg's Dotfiles\n\nManaged with [chezmoi](https://www.chezmoi.io) ❤️\n\n## Setup dotfiles on a new machine\n\n  1. (Optional) Install [Bitwarden](https://bitwarden.com/) and login if you plan to install secrets.\n\n     **Linux**\n     ```\n     sudo snap install bw\n     bw login\n     ```\n\n     **macOS**\n     ```\n     curl -o ~/bw.zip -L 'https://vault.bitwarden.com/download/?app=cli\u0026platform=macos'\n     sudo unzip -d /usr/local/bin ~/bw.zip\n     rm ~/bw.zip\n     bw login\n     ```\n\n  2. [Install chezmoi](https://www.chezmoi.io/docs/install/) to `~/bin` and\n     install dotfiles to `~/dotfiles`.\n     ```\n     sh -c \"$(curl -fsLS git.io/chezmoi)\" -- -b \"$HOME/bin\" init --apply -S ~/dotfiles mkasberg\n     ```\n\nDone! To keep up to date in the future:\n\n    chezmoi update\n\nWant to check the diff before applying changes?\n\n    chezmoi \u003cupdate|apply\u003e -nv\n\n## Notable Features\n\n* Cross-platform (macOS \u0026 Linux)\n* Scripts to install [system](run_once_01-install-ubuntu-applications.sh.tmpl)\n  and [user](run_once_02-user-installs.sh.tmpl) applications and preferences\n* Custom [PS1 Bash Prompt](https://github.com/mkasberg/dotfiles/blob/1cf2a9c5787fa326ff2228414117beb479145147/dot_bashrc#L63-L64)\n* Custom [Oh My Zsh Theme](dot_zsh_custom/themes/mkasberg.zsh-theme)\n* Set the default shell to [zsh](https://github.com/mkasberg/dotfiles/blob/1cf2a9c5787fa326ff2228414117beb479145147/run_once_02-user-installs.sh.tmpl#L8-L13) on Ubuntu\n* Per-machine [git email](https://github.com/mkasberg/dotfiles/blob/1cf2a9c5787fa326ff2228414117beb479145147/dot_gitconfig.tmpl#L4), set once during setup\n* Optionally (per machine) install [secrets from Bitwarden](https://github.com/mkasberg/dotfiles/blob/1cf2a9c5787fa326ff2228414117beb479145147/.chezmoi.toml.tmpl#L22-L27)\n* [Install script](install.sh) for [VS Code Remote Containers Dotfiles](https://code.visualstudio.com/docs/remote/containers#_personalizing-with-dotfile-repositories)\n* [Vim filetypes for chezmoi](dot_vim/ftdetect/chezmoi.vim)\n\n## Start Your Own Dotfiles\n\nWant to use Chezmoi to manage your own dotfiles? The best way to get started is\nto follow the [Chezmoi Quick Start\nGuide](https://www.chezmoi.io/docs/quick-start/) to start tracking your first\ndotfile (`~/.bashrc`, `~/.zshrc`, or `~/.gitconfig` are great files to start\nwith). Beyond that, I hope you can find some inspiration by looking at my\ndotfiles and copying things you like!\n\n## Testing\n\nWant to test a fresh install on a new machine? A dev container in Docker is\ngreat for this because it comes with a non-root user. Use the Docker command\nbelow to get into a fresh, disposable testing environment, then run the\ninstallation steps from above.\n\n    docker run --rm -it --user vscode --workdir /home/vscode mcr.microsoft.com/devcontainers/base:ubuntu\n\nFor convenience, `./test.sh` use the above to install dotfiles from the current\nworking directory and drop you into a prompt.\n\n## Security\n\nDid you find a vulnerability in my dotfiles? An exposed secret? Some other\nsecurity issue? Please report vulnerabilities via email to\n[kasberg.mike@gmail.com](mailto:kasberg.mike@gmail.com) or\n[mike@mikekasberg.com](mailto:mike@mikekasberg.com).\n","funding_links":[],"categories":["Vim Script"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkasberg%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkasberg%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkasberg%2Fdotfiles/lists"}