{"id":18370210,"url":"https://github.com/docwhat/p9k","last_synced_at":"2025-04-10T21:24:27.280Z","repository":{"id":136723636,"uuid":"98612356","full_name":"docwhat/p9k","owner":"docwhat","description":"prototype for reworking powershell9k prompt","archived":false,"fork":false,"pushed_at":"2021-02-13T02:03:05.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-15T21:17:56.185Z","etag":null,"topics":[],"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/docwhat.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-28T05:38:02.000Z","updated_at":"2017-07-28T05:38:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"9feca304-8248-44d1-b12f-68bab490e9cf","html_url":"https://github.com/docwhat/p9k","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docwhat%2Fp9k","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docwhat%2Fp9k/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docwhat%2Fp9k/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docwhat%2Fp9k/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/docwhat","download_url":"https://codeload.github.com/docwhat/p9k/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248299568,"owners_count":21080558,"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-11-05T23:37:18.689Z","updated_at":"2025-04-10T21:24:27.254Z","avatar_url":"https://github.com/docwhat.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Prototyping ideas for PowerLevel9K\n==================================\n\nThis repo is about prototyping some ideas for [PowerLevel9k](https://github.com/bhilburn/powerlevel9k); a configurable prompt system.\n\n## Usage\n\nYou have several approaches, depending on your plugin manager or preference.\n\nThe easiest is just `source ./p9k.theme`.  This can be re-run and will flush any cached p9k functions.\n\nAlternatively, add the `functions/` directory to your `fpath` and use the normal prompt system to load it.\n\nConfiguration\n-------------\n\nThere are three array variables that you can set:\n\n- `p9k_left_segments` — The left prompt (aka `$PROMPT` or `$PS1`).\n- `p9k_right_segments` — The right prompt (aka `$RPROMPT`).\n- `p9k_xtrace_segments` — The `XTRACE` prompt; activated via `set -x`.\n\nEach element in the segments arrays is of the form `\u003cname\u003e::\u003cfg\u003e::\u003cbg\u003e`:\n\n- `\u003cname\u003e` The name of the segment. The complete list can be found via `functions/p9k_segment_\u003cname\u003e`.\n- `\u003cfg\u003e` The foreground color. Use the color names or the numbers from 0 to 255 if your terminal has 256 colors.\n- `\u003cbg\u003e` The background color. Use the color names or the numbers from 0 to 255 if your terminal has 256 colors.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocwhat%2Fp9k","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdocwhat%2Fp9k","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocwhat%2Fp9k/lists"}