{"id":13822876,"url":"https://github.com/xcambar/purs","last_synced_at":"2025-04-05T09:08:45.625Z","repository":{"id":62443101,"uuid":"107320568","full_name":"xcambar/purs","owner":"xcambar","description":"A Pure-inspired prompt in Rust","archived":false,"fork":false,"pushed_at":"2020-02-15T23:37:48.000Z","size":71,"stargazers_count":254,"open_issues_count":8,"forks_count":34,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-29T08:08:21.433Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/xcambar.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}},"created_at":"2017-10-17T20:30:56.000Z","updated_at":"2025-03-16T11:53:52.000Z","dependencies_parsed_at":"2022-11-01T22:16:12.739Z","dependency_job_id":null,"html_url":"https://github.com/xcambar/purs","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xcambar%2Fpurs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xcambar%2Fpurs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xcambar%2Fpurs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xcambar%2Fpurs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xcambar","download_url":"https://codeload.github.com/xcambar/purs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247312081,"owners_count":20918344,"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":[],"created_at":"2024-08-04T08:02:22.015Z","updated_at":"2025-04-05T09:08:45.591Z","avatar_url":"https://github.com/xcambar.png","language":"Rust","funding_links":[],"categories":["Themes","Rust"],"sub_categories":["ZSH on Windows","Zinit (née zplugin)"],"readme":"# Purs\n\n[![Build Status](https://travis-ci.org/xcambar/purs.svg?branch=travis)](https://travis-ci.org/xcambar/purs)\n\nA [Pure](https://github.com/sindresorhus/pure)-inspired prompt in [Rust](https://www.rust-lang.org/).\n\nEven more minimal, definitively faster and at least as pretty as the original Pure by [Sindre Sohrus](https://github.com/sindresorhus).\n\n![Screenshot of Purs in action](./static/imgs/prompt.png)\n\n## Installation — Usage\n\n1. Set up your Rust environment (use a Nightly build)\n1. `$ cargo build --release`\n1. Add the following to your ZSH configuration:\n\n```\nfunction zle-line-init zle-keymap-select {\n  PROMPT=`/PATH/TO/PURS/target/release/purs prompt -k \"$KEYMAP\" -r \"$?\" --venv \"${${VIRTUAL_ENV:t}%-*}\"`\n  zle reset-prompt\n}\nzle -N zle-line-init\nzle -N zle-keymap-select\n\nautoload -Uz add-zsh-hook\n\nfunction _prompt_purs_precmd() {\n  /PATH/TO/PURS/target/release/purs precmd\n}\nadd-zsh-hook precmd _prompt_purs_precmd\n\n```\n\n## Why?\n\n1. Learn some Rust\n1. My Pure prompt felt slow on large repos (and indeed, was, compared to Purs)\n1. Learn some Rust\n\n## Questions\n\n* I don't like...?\n\nIt's a pet project with wide areas for optimization and enhancement.\nI'm really open to discussions, PRs a plus.\n\n* Why doesn't it have...?\n\nIt's a pet project with wide areas for optimization and enhancement.\nI'm really open to discussions, PRs a plus.\n\n\n# License\n\nMIT, see LICENSE file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxcambar%2Fpurs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxcambar%2Fpurs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxcambar%2Fpurs/lists"}