{"_id":"@cs-magic-open/zsh-git-relative-path","name":"@cs-magic-open/zsh-git-relative-path","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@cs-magic-open/zsh-git-relative-path","version":"0.1.0","description":"A ZSH plugin that shows your current path relative to the git project root in your prompt","main":"zsh-git-relative-path.plugin.zsh","scripts":{"postinstall":"node scripts/postinstall.js","postversion":"git push && git push --tags"},"bin":{"zsh-git-relative-path":"scripts/postinstall.js"},"preferGlobal":true,"keywords":["zsh","oh-my-zsh","plugin","git","path","prompt"],"author":{"name":"cs-magic-open"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/cs-magic-open/zsh-git-relative-path.git"},"bugs":{"url":"https://github.com/cs-magic-open/zsh-git-relative-path/issues"},"homepage":"https://github.com/cs-magic-open/zsh-git-relative-path#readme","engines":{"node":">=14.0.0"},"publishConfig":{"access":"public"},"_id":"@cs-magic-open/zsh-git-relative-path@0.1.0","gitHead":"2bee493220ef88faba17af362202941754a76097","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-Q6CUfYeGk2/hzCpLHAp4MDgNDllNi8fABZpO52lTpcXF/Fh3C601GTLYZJVijVRgFC7StOjJ48M3NtSaIP0UlA==","shasum":"126ad488748fe1ef41e0fc34fcd14be5d259ed6c","tarball":"https://registry.npmjs.org/@cs-magic-open/zsh-git-relative-path/-/zsh-git-relative-path-0.1.0.tgz","fileCount":5,"unpackedSize":8735,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFFMn7YmZ6QnMzubUtOTAlmgK5I2gk4NOHs9CxIz+EYtAiEA07F9+eHQpiFDfmCyS3wgR2aQUuuXh3Orb2lSBsoLNbs="}]},"_npmUser":{"name":"markshawn","email":"mark@cs-magic.com"},"directories":{},"maintainers":[{"name":"markshawn","email":"mark@cs-magic.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/zsh-git-relative-path_0.1.0_1734782725480_0.9457065294154989"},"_hasShrinkwrap":false}},"time":{"created":"2024-12-21T12:05:25.403Z","0.1.0":"2024-12-21T12:05:25.680Z","modified":"2024-12-21T12:05:25.938Z"},"maintainers":[{"name":"markshawn","email":"mark@cs-magic.com"}],"description":"A ZSH plugin that shows your current path relative to the git project root in your prompt","homepage":"https://github.com/cs-magic-open/zsh-git-relative-path#readme","keywords":["zsh","oh-my-zsh","plugin","git","path","prompt"],"repository":{"type":"git","url":"git+https://github.com/cs-magic-open/zsh-git-relative-path.git"},"author":{"name":"cs-magic-open"},"bugs":{"url":"https://github.com/cs-magic-open/zsh-git-relative-path/issues"},"license":"MIT","readme":"# zsh-git-relative-path\n\nA ZSH plugin that shows your current path relative to the git project root in your prompt.\n\n## Features\n\n- Works with any oh-my-zsh theme\n- Shows path relative to git project root when in a git repository\n- Falls back to normal path display when not in a git repository\n- Special support for popular themes (robbyrussell, agnoster, avit)\n- Zero configuration needed!\n\n## Prerequisites\n\n- [Oh My Zsh](https://ohmyz.sh/)\n- Node.js >= 14.0.0\n- npm or pnpm\n\n## Installation\n\n### Using npm (Recommended)\n\n```bash\nnpm install -g @cs-magic-open/zsh-git-relative-path\n```\n\nThat's it! The plugin will be automatically configured and activated after installation.\n\n### Alternative: Manual Installation\n\nIf you prefer to inspect the code first:\n\n```bash\n# 1. Clone the repository\ngit clone https://github.com/cs-magic-open/zsh-git-relative-path\ncd zsh-git-relative-path\n\n# 2. Install globally from local\nnpm install -g .\n```\n\n## Usage\n\nOnce installed, the plugin will automatically modify your prompt to show paths relative to the git project root. No additional configuration is needed!\n\nExample:\n```\n# Before (in /Users/username/projects/my-project/src/components)\nusername ~/projects/my-project/src/components $\n\n# After (same directory)\nusername src/components $\n```\n\n## Updating\n\nTo update to the latest version:\n\n```bash\nnpm update -g @cs-magic-open/zsh-git-relative-path\n```\n\n## Uninstallation\n\n```bash\nnpm uninstall -g @cs-magic-open/zsh-git-relative-path\n```\n\n## Development\n\nTo contribute or modify the plugin:\n\n```bash\n# Clone the repository\ngit clone https://github.com/cs-magic-open/zsh-git-relative-path\ncd zsh-git-relative-path\n\n# Install dependencies\nnpm install\n\n# Make your changes...\n\n# Bump version\nnpm version patch  # or minor/major\n```\n\n## License\n\nMIT\n\n## Author\n\ncs-magic-open\n","readmeFilename":"README.md"}