{"id":21861149,"url":"https://github.com/deecewan/prompt","last_synced_at":"2026-04-16T03:31:34.459Z","repository":{"id":94844996,"uuid":"127010726","full_name":"deecewan/prompt","owner":"deecewan","description":"A custom shell prompt","archived":false,"fork":false,"pushed_at":"2018-03-27T22:19:23.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-28T06:02:43.678Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deecewan.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-27T15:48:44.000Z","updated_at":"2018-03-27T22:19:24.000Z","dependencies_parsed_at":"2023-07-24T13:31:32.543Z","dependency_job_id":null,"html_url":"https://github.com/deecewan/prompt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/deecewan/prompt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deecewan%2Fprompt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deecewan%2Fprompt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deecewan%2Fprompt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deecewan%2Fprompt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deecewan","download_url":"https://codeload.github.com/deecewan/prompt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deecewan%2Fprompt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31870506,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"online","status_checked_at":"2026-04-16T02:00:06.042Z","response_time":69,"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":[],"created_at":"2024-11-28T03:10:16.603Z","updated_at":"2026-04-16T03:31:34.432Z","avatar_url":"https://github.com/deecewan.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# prompt\n\n\u003e My terminal prompt\n\nThis is a personal terminal prompt written in rust. It is based rather heavily\non [pure](https://github.com/sindresorhus/pure), as that was my go-to\npreviously.\n\nThe goals of this project:\n\n- [ ] fast (still need to confirm, but feels fast)\n- [x] Vi-keys status\n\nI moved off pure because I found it was slowing down quite a lot in large\nrepositories. I found an alternative, [purs](https://github.com/xcambar/purs),\nwhich provided some inspiration for this. I wanted a different vi-keys display,\nand I found the speed dropping in my main work codebase.\n\nSo, `prompt`. It's super-fast, but I haven't played with it day-to-day yet. It\nalmost certainly has some side-effects and unintended consequences. This is not\nmeant to be a 'supports all workflows' tool. It supports my workflow, and\nsupports it as quick as possible, while still looking good.\n\nIf you want to add/remove/change segments, fork the codebase, and keep your own\nprompt.\n\n## Installation\n\n- clone the repo (the location is `$CODE` from now on)\n- `cd $CODE`\n- `cargo build --release`\n- open your `~/.zshrc`\n- add the following:\n\n```zsh\nfunction zle-line-init zle-keymap-select {\n  PROMPT=$($CODE/target/release/prompt $? \"$KEYMAP\")\n  zle reset-prompt\n}\n\nzle -N zle-line-init\nzle -N zle-keymap-select\n```\n\n- if you don't want to display the vi-keys status, simply remove the `$KEYMAP`\n  at the end of the command.\n- `source ~/.zshrc` (you may want to open a new terminal window if you had\n  another theme before)\n- That's it\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeecewan%2Fprompt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeecewan%2Fprompt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeecewan%2Fprompt/lists"}