{"id":26990415,"url":"https://github.com/vishesh-gupta/dotfiles","last_synced_at":"2026-05-17T11:32:03.066Z","repository":{"id":213805502,"uuid":"178899926","full_name":"Vishesh-Gupta/dotfiles","owner":"Vishesh-Gupta","description":"Development environment configurations","archived":false,"fork":false,"pushed_at":"2026-03-14T17:46:50.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-15T03:57:13.331Z","etag":null,"topics":["configuration-files","development-environment","dotfiles","dotfiles-setup"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Vishesh-Gupta.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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}},"created_at":"2019-04-01T16:08:30.000Z","updated_at":"2026-03-14T17:46:54.000Z","dependencies_parsed_at":"2023-12-23T08:53:24.113Z","dependency_job_id":"4ff1d94d-0a80-4798-b66a-98aec896406f","html_url":"https://github.com/Vishesh-Gupta/dotfiles","commit_stats":null,"previous_names":["vishesh-gupta/dotfiles"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Vishesh-Gupta/dotfiles","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vishesh-Gupta%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vishesh-Gupta%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vishesh-Gupta%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vishesh-Gupta%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vishesh-Gupta","download_url":"https://codeload.github.com/Vishesh-Gupta/dotfiles/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vishesh-Gupta%2Fdotfiles/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33136693,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["configuration-files","development-environment","dotfiles","dotfiles-setup"],"created_at":"2025-04-03T21:38:01.829Z","updated_at":"2026-05-17T11:32:03.060Z","avatar_url":"https://github.com/Vishesh-Gupta.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dotfiles\n\n[![Quality and Security Checks](https://github.com/Vishesh-Gupta/dotfiles/actions/workflows/quality-and-security.yml/badge.svg)](https://github.com/Vishesh-Gupta/dotfiles/actions/workflows/quality-and-security.yml)\n\nProfessional, reproducible macOS dotfiles focused on a modular Zsh setup.\n\n## Scope\n\nThis repository intentionally tracks:\n\n- Zsh shell configuration (`.zshrc`, `.zshrc.d`, `.zprofile`, `.zshenv`)\n- Compatibility shell files (`.profile`, `.bashrc`)\n- Terminal tool config (`.config/ghostty`, `.config/zellij`)\n- Bootstrap automation (`scripts/install.sh`, `scripts/bootstrap.sh`)\n\nThis repository intentionally does **not** track machine-specific editor state (for example Cursor user settings).\n\n## Repository Layout\n\n- `.zshrc`: minimal entrypoint that loads modular config\n- `.zshrc.d/`: split config by concern (`env`, `tools`, `aliases`, `functions`, `startup`)\n- `.zprofile`: login-shell initialization\n- `.zshenv`: environment required in all zsh contexts\n- `.config/ghostty/config.toml`: Ghostty settings\n- `.config/zellij/config.kdl`: Zellij settings (tmux alternative)\n- `scripts/install.sh`: idempotent local installer\n- `scripts/bootstrap.sh`: one-liner bootstrap entrypoint\n\n## Prerequisites\n\n- macOS (Darwin)\n- internet connectivity for package and plugin installation\n\n## Installation\n\n### Option 1: Local clone (recommended for maintenance)\n\n```sh\ngit clone https://github.com/Vishesh-Gupta/dotfiles.git \"$HOME/personal/dotfiles\"\ncd \"$HOME/personal/dotfiles\"\n./scripts/install.sh\n```\n\n### Option 2: One-liner remote bootstrap (no gist, no manual clone)\n\n```sh\ncurl -fsSL \"https://raw.githubusercontent.com/Vishesh-Gupta/dotfiles/main/scripts/bootstrap.sh\" | bash\n```\n\nBy default, `bootstrap.sh` downloads this repository archive from GitHub and installs from that temporary copy.\n\nOverride repo/ref at runtime:\n\n```sh\nDOTFILES_REPO=\"\u003cowner\u003e/\u003crepo\u003e\" DOTFILES_REF=\"\u003cbranch-or-tag\u003e\" \\\n  curl -fsSL \"https://raw.githubusercontent.com/Vishesh-Gupta/dotfiles/main/scripts/bootstrap.sh\" | bash\n```\n\nPreview only (no changes):\n\n```sh\ncurl -fsSL \"https://raw.githubusercontent.com/Vishesh-Gupta/dotfiles/main/scripts/bootstrap.sh\" | bash -s -- --dry-run\n```\n\n## Installer Behavior\n\n`scripts/install.sh` is idempotent and safe to re-run:\n\n- installs Homebrew only when missing\n- installs missing formulas/casks only\n- clones missing Zsh framework/plugins only\n- updates links or files deterministically\n\n### Install modes\n\n```sh\n./scripts/install.sh --link\n```\n\n- default mode\n- symlinks files from the repo into `$HOME`\n- ideal when keeping the repo on disk\n\n```sh\n./scripts/install.sh --copy --self-destruct\n```\n\n- copies files into `$HOME` (no symlink dependency)\n- removes the cloned dotfiles repository after successful setup\n- useful for ephemeral bootstrap flows\n\n```sh\n./scripts/install.sh --dry-run --copy --self-destruct\n```\n\n- prints planned actions without making changes\n\n## Testing\n\nRun the script test suite:\n\n```sh\n./scripts/test.sh\n```\n\nThe suite validates:\n\n- shell syntax for installer/bootstrap scripts\n- CLI option guards and help text\n- dry-run behavior for both `install.sh` and `bootstrap.sh`\n\nRun the security scan:\n\n```sh\n./scripts/security-scan.sh\n```\n\nThe security scan includes:\n\n- `shellcheck` static analysis\n- advisory pattern scan for potentially risky shell primitives (for manual review)\n\n## Installed Dependencies\n\nHomebrew formulas:\n\n- `bat`\n- `eza`\n- `fzf`\n- `gh`\n- `git`\n- `glow`\n- `neofetch`\n- `ripgrep`\n- `zellij`\n- `zoxide`\n\nHomebrew casks:\n\n- `ghostty`\n\nZsh ecosystem:\n\n- `oh-my-zsh`\n- `powerlevel10k`\n- `zsh-autosuggestions`\n- `zsh-syntax-highlighting`\n\n## Usage\n\n- open a new terminal, or run:\n\n```sh\nexec zsh\n```\n\n- launch multiplexer:\n\n```sh\nzellij\n```\n\n## Maintenance\n\n- rerun setup anytime after pulling updates:\n\n```sh\ncd \"$HOME/personal/dotfiles\"\ngit pull\n./scripts/install.sh\n```\n\n## Security Notes\n\n- Review remote scripts before running `curl | bash`.\n- Keep secrets out of this repository.\n- Prefer machine-local files for host-specific settings.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvishesh-gupta%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvishesh-gupta%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvishesh-gupta%2Fdotfiles/lists"}