{"id":16296181,"url":"https://github.com/fabioantunes/base16-fish-shell","last_synced_at":"2025-09-29T22:30:53.731Z","repository":{"id":45870763,"uuid":"247160187","full_name":"FabioAntunes/base16-fish-shell","owner":"FabioAntunes","description":"base16 for fish shell","archived":false,"fork":false,"pushed_at":"2024-08-31T01:14:44.000Z","size":254,"stargazers_count":33,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-11T15:46:38.177Z","etag":null,"topics":["base16","fish","fish-shell","hacktoberfest","shell"],"latest_commit_sha":null,"homepage":"","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/FabioAntunes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2020-03-13T20:56:06.000Z","updated_at":"2024-10-14T02:43:27.000Z","dependencies_parsed_at":"2024-10-27T10:52:39.084Z","dependency_job_id":"4655db4b-e82f-4d1f-8542-184b69e6f6ea","html_url":"https://github.com/FabioAntunes/base16-fish-shell","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/FabioAntunes%2Fbase16-fish-shell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FabioAntunes%2Fbase16-fish-shell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FabioAntunes%2Fbase16-fish-shell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FabioAntunes%2Fbase16-fish-shell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FabioAntunes","download_url":"https://codeload.github.com/FabioAntunes/base16-fish-shell/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234668323,"owners_count":18868928,"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":["base16","fish","fish-shell","hacktoberfest","shell"],"created_at":"2024-10-10T20:21:38.172Z","updated_at":"2025-09-29T22:30:53.725Z","avatar_url":"https://github.com/FabioAntunes.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DEPRECATED\n\nThere are multiple projects out there that provide better functionality and are under active development.\n\nHave a look at [tinted-theming](https://github.com/tinted-theming) and [mini.base16](https://github.com/echasnovski/mini.base16)\n\n# Base16 Fish Shell \nSee the [Base16 repository](https://github.com/chriskempson/base16) for more information.  \nThese scripts were built with [Base16 Builder Go](https://github.com/belak/base16-builder-go).\n\nA pure fish shell solution to change your shell's default ANSI colours but most importantly, colours 17 to 21 of your shell's 256 colorspace (if supported by your terminal). This script makes it possible to honour the original bright colours of your shell (e.g. bright green is still green and so on) while providing additional base16 colours to applications such as Vim.\n\nHeavily inspired on [Base16 Shell](https://github.com/chriskempson/base16-shell)\n\n## Use Cases\n\n* You want to use a `*.256.*` variant of a Terminal theme designed to honour the original bright colours.\n* You prefer to use a script instead of a terminal emulator theme to colour your shell.\n* You use this script to have different colour schemes appear on different SSH sessions.\n\n## Installation\n\nWith [oh-my-fish](https://github.com/oh-my-fish/oh-my-fish)\n```fish\nomf install https://github.com/FabioAntunes/base16-fish-shell\n```\n\nWith [fisher](https://github.com/jorgebucaran/fisher)\n\n```shell\nfisher install FabioAntunes/base16-fish-shell\n```\n\nOpen a new shell and type `base16` followed by a tab to perform tab completion.\n\n## Features\n\n* Pure fish solution, no need to source bash functions.\n* Sets one universal variable with the current theme. Whenever a new interactive session has started, a function in conf.d will apply the theme's function.\n* Luma calculation, a global variable `base16_fish_shell_background` is set with the background. Possible values are `dark` or `light`\nBase16-vim support\n\n### Fish Shell\nFish shell has universal variables with colours. These universal variables are responsible for the theme of the prompt. You can see your current colours and modify them using the interactive webpage using the command `fish_config`\n\nWhen you select a scheme, base16-fish-shell will shadow the universal variables with global variables. If you prefer not to change the fish prompt colours, you can disable this by running the following:\n\n```shell\nset -U base16_fish_shell_disable_prompt_colors true\n```\n\nThis will only disable things like colours for autocompletions, errors, commands, strings.\n\nHere's the complete list of the colours modified by the scripts:\n```\nfish_color_normal\nfish_color_command\nfish_color_quote\nfish_color_redirection\nfish_color_end\nfish_color_error\nfish_color_param\nfish_color_comment\nfish_color_match\nfish_color_selection\nfish_color_search_match\nfish_color_history_current\nfish_color_operator\nfish_color_escape\nfish_color_cwd\nfish_color_cwd_root\nfish_color_valid_path\nfish_color_autosuggestion \nfish_color_user\nfish_color_host\nfish_color_cancel\nfish_pager_color_completion\nfish_pager_color_description\nfish_pager_color_prefix\nfish_pager_color_progress \n```\n\n### Base16-Vim Users\n\nEvery time you run a base16 function, it will update `~/.vimrc_background` file with the current colour scheme. You need to source this file in your .vimrc: i.e. (remove the base16colorspace line if not required)\n\n```vim\nif filereadable(expand(\"~/.vimrc_background\"))\n  let base16colorspace=256\n  source ~/.vimrc_background\nendif\n```\n\nThe script will also calculate the Luma of the background colour of each theme, setting your vim background to **light** or **dark** accordingly.\n\n## Troubleshooting\n\nRun the included colour test option and check that your colour assignments appear correct. If your terminal does not support the setting of colours within the 256 colour space (e.g. Apple Terminal), colours 17 to 21 will appear blue.\n\n![setting 256 colourspace not supported](https://raw.github.com/chriskempson/base16-shell/master/setting-256-colourspace-not-supported.png)\n\nTo run the test, pass the flag `-t` or `--test` to any theme functions. \n\n```shell\nbase16-solarflare -t\n```\n\n![Screenshot 2020-03-19 at 18 41 56](https://user-images.githubusercontent.com/2544673/77102790-50c07580-6a11-11ea-85e6-d88ba956d56d.png)\n\n\n### Inverted blacks and whites\n\nThis is the expected behaviour when using a light theme:\nhttps://github.com/chriskempson/base16-shell/issues/150\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabioantunes%2Fbase16-fish-shell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffabioantunes%2Fbase16-fish-shell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabioantunes%2Fbase16-fish-shell/lists"}