{"id":22825454,"url":"https://github.com/crabdancing/fishcfg","last_synced_at":"2026-04-29T18:32:34.703Z","repository":{"id":82553511,"uuid":"156151826","full_name":"crabdancing/fishcfg","owner":"crabdancing","description":"A nice FISH configuration, because I finally decided to give up on ZSH.","archived":false,"fork":false,"pushed_at":"2018-11-13T22:21:13.000Z","size":121,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T00:25:39.934Z","etag":null,"topics":["conf","config","customization","dotfiles","examples","fish","fish-shell","shell"],"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/crabdancing.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}},"created_at":"2018-11-05T02:53:11.000Z","updated_at":"2019-04-01T09:49:45.000Z","dependencies_parsed_at":"2023-03-12T16:09:24.288Z","dependency_job_id":null,"html_url":"https://github.com/crabdancing/fishcfg","commit_stats":null,"previous_names":["a7287/fishcfg"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/crabdancing/fishcfg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crabdancing%2Ffishcfg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crabdancing%2Ffishcfg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crabdancing%2Ffishcfg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crabdancing%2Ffishcfg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crabdancing","download_url":"https://codeload.github.com/crabdancing/fishcfg/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crabdancing%2Ffishcfg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32439179,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T18:12:22.909Z","status":"ssl_error","status_checked_at":"2026-04-29T18:11:33.322Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["conf","config","customization","dotfiles","examples","fish","fish-shell","shell"],"created_at":"2024-12-12T17:10:53.566Z","updated_at":"2026-04-29T18:32:34.688Z","avatar_url":"https://github.com/crabdancing.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A nice FISH configuration\n\n### Features \n* Very reluctant FISH file-name truncation\n(you know, that thing where `/media/alexandra/code` becomes `/m/a/code`).\n* Newline between status information and user input.\n* So colorful that people will assume that you're queer.\n* Lots and lots of comments to make it easier to understand \u0026 customize the code further.\n* Indicators for current time, exit code of previous command, and disk usage, all with meaningful color cues.\n* Prompt looks red and dangerous when logged in as root.\n* Easy to override a lot of the code simply by creating `/etc/fish/override.fish` and `/etc/fish/interactive-override.fish`,\nmaking it easy to do rudimentary customizations without too much worry about merging future updates.\n* Optimized to be system-wide, so that you don't lose your pretty gay features when you `sudo -i`.\n* Some useful abbreviations.\n* An unobtrusive display of how long each previous command took, on the right side of the prompt.\n* A `notify-send` notification for if a command that takes more than 10 seconds is finished. Note that this makes use of `xdotool` and `$WINDOWID` to detect if the window has focus or not. This feature has problems with terminal multiplexers, and I need to figure out a way around that. This may be eventually refactored using the serial method suggested by egmont [here](https://unix.stackexchange.com/a/480138/310093), or I might simply build some tmux hooks for importing `$WINDOWID`. \n* Reasonably light-weight. Can run on a small Raspberry Pi system comfortably.\n### Prerequisites\n* Fish shell (obviously).\n* Perl.\n* Perl Filesys::df (package name is `perl-filesys-df` on Arch, and `libfilesys-df-perl` on Debian OSes).\nOn systems like Cygwin it will _probably_ work [if you install via CPAN](https://stackoverflow.com/questions/10483574/how-do-i-install-perl-libraries-in-cygwin#10483795), but I have not yet tested that. (Someone please test this, as Cygwin compatibility is one of my goals with this project!)\n* An environment that understands standard Unix commands.\n\n### Installation\nJust copy the .fish files from this repo to `/etc/fish`.\n[An install script](https://raw.githubusercontent.com/alxpettit/fish/master/bin/fish-install.sh)\nthat pulls the files from the repo straight to your computer is included in this repo, if you're lazy like me.\n\n(Note that this install script assumes you have `wget`!)\n\nYou can simply `wget \"https://raw.githubusercontent.com/alxpettit/fish/master/bin/fish-install.sh\" -O - | sudo sh -`,\nif you're one of those people who likes to pipe directly to a root terminal off the internet.\n\nFor the paranoid (myself included) there are `.gpg` signitures for each FISH file,\nwhich can be automatically checked before installation with [fish-secure-install.fish](https://raw.githubusercontent.com/alxpettit/fish/master/bin/fish-secure-install.fish).\n\nNote that you will likely need local `~/.config/fish/config.fish` rc files that all simply `source /etc/fish/config.fish` for this to work,\nas of this writing. (Hopefully the FISH team will fix this sometime soon.)\n\nI have thus created a [fish-integrate.fish](https://raw.githubusercontent.com/alxpettit/fish/master/bin/fish-integrate.fish) script to automate that task.\n![fish prompt image](media/fish-prompt.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrabdancing%2Ffishcfg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrabdancing%2Ffishcfg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrabdancing%2Ffishcfg/lists"}