{"id":18123371,"url":"https://github.com/mhadaily/dotfiles","last_synced_at":"2026-04-11T06:03:19.758Z","repository":{"id":74804273,"uuid":"135760656","full_name":"mhadaily/dotfiles","owner":"mhadaily","description":"My dotfiles to setup Mac / Ubuntu","archived":false,"fork":false,"pushed_at":"2018-08-25T10:50:39.000Z","size":345,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T12:48:22.979Z","etag":null,"topics":["bash","dotfiles","homebrew","vim"],"latest_commit_sha":null,"homepage":null,"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/mhadaily.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2018-06-01T20:30:25.000Z","updated_at":"2018-08-25T10:50:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"b773229f-e609-4e21-b890-2a7b3b394ad9","html_url":"https://github.com/mhadaily/dotfiles","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mhadaily/dotfiles","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhadaily%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhadaily%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhadaily%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhadaily%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mhadaily","download_url":"https://codeload.github.com/mhadaily/dotfiles/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhadaily%2Fdotfiles/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31670383,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T17:19:37.612Z","status":"online","status_checked_at":"2026-04-11T02:00:05.776Z","response_time":54,"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":["bash","dotfiles","homebrew","vim"],"created_at":"2024-11-01T07:09:31.022Z","updated_at":"2026-04-11T06:03:19.710Z","avatar_url":"https://github.com/mhadaily.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Majid](https://github.com/mhadaily)’s dotfiles\n\nThese are the base dotfiles that I start with when I set up a\nnew environment. For more specific local needs I use the `.local`\nfiles described in the [`Local Settings`](#local-settings) section.\n\n## Setup\n\nTo set up the `dotfiles` just run the appropriate snippet in the\nterminal:\n\n(:warning: **DO NOT** run the `setup` snippet if you don't fully\nunderstand [what it does](os/setup.sh). Seriously, **DON'T**!)\n\n| OS | Snippet |\n|:---|:---|\n| `macOS` | `bash -c \"$(curl -LsS https://raw.github.com/mhadaily/dotfiles/master/os/setup.sh)\"` |\n| `Ubuntu` | `bash -c \"$(wget -qO - https://raw.github.com/mhadaily/dotfiles/master/os/setup.sh)\"` |\n\nThat's it! :sparkles:\n\nThe setup process will:\n\n* Download the dotfiles on your computer (by default it will suggest\n  `~/projects/dotfiles`)\n* Create some additional [directories](src/os/create_directories.sh)\n* [Symlink](src/os/create_symbolic_links.sh) the\n  [`git`](src/git),\n  [`shell`](src/shell), and\n  [`vim`](src/vim) files\n* Install applications / command-line tools for\n  [`macOS`](src/os/install/macos) /\n  [`Ubuntu`](src/os/install/ubuntu)\n* Set custom\n  [`macOS`](src/os/preferences/macos) /\n  [`Ubuntu`](src/os/preferences/ubuntu) preferences\n* Install [`vim` plugins](src/vim/vim/plugins)\n\n## Customize\n\n### Local Settings\n\nThe `dotfiles` can be easily extended to suit additional local\nrequirements by using the following files:\n\n#### `~/.bash.local`\n\nThe `~/.bash.local` file it will be automatically sourced after\nall the other [`bash` related files](src/shell), thus, allowing\nits content to add to or overwrite the existing aliases, settings,\nPATH, etc.\n\nHere is a very simple example of a `~/.bash.local` file:\n\n```bash\n#!/bin/bash\n\n# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n\n# Set local aliases.\n\nalias starwars=\"telnet towel.blinkenlights.nl\"\n\n# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n\n# Set PATH additions.\n\nPATH=\"$PATH:$HOME/projects/dotfiles/src/bin\"\n\nexport PATH\n\n```\n\n#### `~/.gitconfig.local`\n\nThe `~/.gitconfig.local` file it will be automatically included\nafter the configurations from `~/.gitconfig`, thus, allowing its\ncontent to overwrite or add to the existing `git` configurations.\n\n__Note:__ Use `~/.gitconfig.local` to store sensitive information\nsuch as the `git` user credentials, e.g.:\n\n```bash\n[commit]\n\n    # Sign commits using GPG.\n    # https://help.github.com/articles/signing-commits-using-gpg/\n\n    gpgsign = true\n\n\n[user]\n\n    name = Majid Hajian\n    email = majid@example.com\n    signingkey = XXXXXXXX\n```\n\n#### `~/.vimrc.local`\n\nThe `~/.vimrc.local` file it will be automatically sourced after\n`~/.vimrc`, thus, allowing its content to add or overwrite the\nsettings from `~/.vimrc`.\n\n\n### Forks\n\nIf you decide to fork this project, don't forget to substitute my\nusername with your own in the [`setup` snippets](#setup) and [in the\n`setup` script](https://github.com/mhadaily/dotfiles/blob/1503cf23ef23f6e31342b140bcd246625160b94f/src/os/setup.sh#L3).\n\n\n## Update\n\nTo update the dotfiles you can either run the [`setup`\nscript](src/os/setup.sh) or, if you want to just update one particular\npart, run the appropriate [`os` script](src/os).\n\n\n## Acknowledgements\n\nInspiration and code was taken from many sources, including:\n\n* [Mathias Bynens'](https://github.com/mathiasbynens)\n  [dotfiles](https://github.com/mathiasbynens/dotfiles)\n* [Cătălin'](https://github.com/alrra)\n  [dotfiles](https://github.com/alrra/dotfiles/)  \n\n## License\n\nThe code is available under the [MIT license](LICENSE.txt).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhadaily%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmhadaily%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhadaily%2Fdotfiles/lists"}