{"id":22706859,"url":"https://github.com/zimfw/minimal","last_synced_at":"2025-04-13T12:13:17.098Z","repository":{"id":43180859,"uuid":"166609313","full_name":"zimfw/minimal","owner":"zimfw","description":"A minimal fork of subnixr's minimal prompt theme.","archived":false,"fork":false,"pushed_at":"2023-03-02T14:47:55.000Z","size":29,"stargazers_count":8,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-13T12:13:12.367Z","etag":null,"topics":["minimal","prompt","theme","zim","zimfw","zsh","zsh-plugin","zsh-plugins","zsh-prompt","zsh-theme"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zimfw.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":"2019-01-20T00:54:02.000Z","updated_at":"2024-04-01T13:02:03.000Z","dependencies_parsed_at":"2023-02-16T19:25:21.663Z","dependency_job_id":null,"html_url":"https://github.com/zimfw/minimal","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/zimfw%2Fminimal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zimfw%2Fminimal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zimfw%2Fminimal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zimfw%2Fminimal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zimfw","download_url":"https://codeload.github.com/zimfw/minimal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248710447,"owners_count":21149191,"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":["minimal","prompt","theme","zim","zimfw","zsh","zsh-plugin","zsh-plugins","zsh-prompt","zsh-theme"],"created_at":"2024-12-10T10:09:58.084Z","updated_at":"2025-04-13T12:13:17.077Z","avatar_url":"https://github.com/zimfw.png","language":"Shell","readme":"minimal\n=======\n\nA minimal fork of [subnixr's minimal] prompt theme.\n\n\u003cimg width=\"706\" src=\"https://zimfw.github.io/images/prompts/minimal@2.png\"\u003e\n\nWhat does it show?\n------------------\n\nLeft prompt:\n  * The hostname only if current session is through a SSH connection.\n  * The current activated python virtualenv.\n  * An indicator displaying the following information:\n    * User privilege: `#` when root, MNML_USER_CHAR otherwise.\n    * Last command success: indicator's color is set to MNML_OK_COLOR when the\n      last command was successful, MNML_ERR_COLOR otherwise.\n    * Background jobs: MNML_BGJOB_MODE is applied to the indicator if at least\n      one job is in background.\n  * An indicator displaying the current keymap: MNML_INSERT_CHAR when in main or\n    vi insert mode, MNML_NORMAL_CHAR when in vi command mode.\n\nRight prompt:\n  * The last 2 components of the current working directory.\n  * The current git branch, when inside a git repo. Color is set to\n    MNML_OK_COLOR if the branch is clean, MNML_ERR_COLOR if the branch is dirty.\n\nMagic enter\n-----------\n\nA fork of the magic enter feature from [subnixr's minimal] is available\nseparately in Zim's [magic-enter] module.\n\nSettings\n--------\n\nThis theme can be customized with the following environment variables. If a\nvariable is not defined, the respective default value is used.\n\n| Variable         | Description                                 | Default value |\n| ---------------- | ------------------------------------------- | ------------- |\n| MNML_OK_COLOR    | Color for successful things                 | `green`       |\n| MNML_ERR_COLOR   | Color for failures                          | `red`         |\n| MNML_BGJOB_MODE  | Mode applied when there are background jobs | `4`           |\n| MNML_USER_CHAR   | Character used for unprivileged users       | `λ`           |\n| MNML_INSERT_CHAR | Character used for main or vi insert mode   | `›`           |\n| MNML_NORMAL_CHAR | Character used for vi command mode          | `·`           |\n\nAdvanced settings\n-----------------\n\nYou can customize how the current working directory is shown with the\n[prompt-pwd module settings].\n\nThese advanced settings must be overridden after the theme is initialized.\n\nRequirements\n------------\n\nRequires Zim's [prompt-pwd] module to show the current working directory, and\n[git-info] to show git information.\n\n[subnixr's minimal]: https://github.com/subnixr/minimal\n[magic-enter]: https://github.com/zimfw/magic-enter\n[prompt-pwd module settings]: https://github.com/zimfw/prompt-pwd/blob/master/README.md#settings\n[prompt-pwd]: https://github.com/zimfw/prompt-pwd\n[git-info]: https://github.com/zimfw/git-info\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzimfw%2Fminimal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzimfw%2Fminimal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzimfw%2Fminimal/lists"}