{"id":25604477,"url":"https://github.com/brewingweasel/fishbang","last_synced_at":"2025-04-13T09:40:44.681Z","repository":{"id":153087540,"uuid":"613062218","full_name":"BrewingWeasel/fishbang","owner":"BrewingWeasel","description":"bash bang commands for fish","archived":false,"fork":false,"pushed_at":"2025-01-10T05:08:08.000Z","size":9,"stargazers_count":23,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T01:11:12.912Z","etag":null,"topics":["command-line","fish","fish-plugin"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BrewingWeasel.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":"2023-03-12T19:17:14.000Z","updated_at":"2025-03-13T20:57:26.000Z","dependencies_parsed_at":"2025-01-10T06:35:45.938Z","dependency_job_id":null,"html_url":"https://github.com/BrewingWeasel/fishbang","commit_stats":{"total_commits":7,"total_committers":3,"mean_commits":"2.3333333333333335","dds":0.4285714285714286,"last_synced_commit":"0b5ef82ead524a7dd0da5760d8f677b02b35f654"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrewingWeasel%2Ffishbang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrewingWeasel%2Ffishbang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrewingWeasel%2Ffishbang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrewingWeasel%2Ffishbang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BrewingWeasel","download_url":"https://codeload.github.com/BrewingWeasel/fishbang/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248693196,"owners_count":21146749,"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":["command-line","fish","fish-plugin"],"created_at":"2025-02-21T17:39:24.344Z","updated_at":"2025-04-13T09:40:44.658Z","avatar_url":"https://github.com/BrewingWeasel.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fishbang\n\nUses abbreviations in order to replicate the various bash bang commands.\nThis has the advantage of replacing everything inline, so you can be more confident in using them.\n\n## Examples:\n-  ``!dnf`` returns the last command that started with dnf\n- ``!?abc`` returns the last command that included abc\n- ``!3`` returns the 3rd command used. ``!-3`` returns the 3rd most recent command used.\n- ``!!`` returns the last command. Taken from the fish documentation\n- ``!^`` returns the first argument of the last command\n- ``!$`` returns the last argument of the last command\n- ``!*`` returns all the arguments of the last command\n- ``!:n`` returns the nth argument of the last command\n\n## Install\n\n\n### Installing with [Fisher](https://github.com/jorgebucaran/fisher):\n\n```fish\nfisher install brewingweasel/fishbang\n```\n\n### Installing with [oh-my-fish](https://github.com/oh-my-fish/oh-my-fish) *should* also work:\n\n```fish\nomf install https://github.com/BrewingWeasel/fishbang\n```\n\n# Troubleshooting:\n\n### Unable to use `!$` at the end of the line:\nYou have two options:\n\n1. Press space before enter\n2. Rebind enter to also expand the abbreviation:\n   \n   `bind enter expand-abbr execute`\n   \n   or (for vi keybinds):\n   \n   `bind -M insert enter expand-abbr execute`\n   \n   `bind -M default enter expand-abbr execute`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrewingweasel%2Ffishbang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrewingweasel%2Ffishbang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrewingweasel%2Ffishbang/lists"}