{"id":17920913,"url":"https://github.com/eth-p/fish-plugin-sudo","last_synced_at":"2025-03-24T00:32:36.223Z","repository":{"id":52195416,"uuid":"150225280","full_name":"eth-p/fish-plugin-sudo","owner":"eth-p","description":"A fish plugin for better sudo integration.","archived":false,"fork":false,"pushed_at":"2024-03-11T14:32:06.000Z","size":7,"stargazers_count":10,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-02T04:51:20.037Z","etag":null,"topics":["fish","fish-plugin","fish-shell","fisher","fisherman","oh-my-fish","sudo"],"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/eth-p.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":"2018-09-25T07:33:32.000Z","updated_at":"2025-01-07T02:34:55.000Z","dependencies_parsed_at":"2022-09-05T01:51:19.703Z","dependency_job_id":null,"html_url":"https://github.com/eth-p/fish-plugin-sudo","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/eth-p%2Ffish-plugin-sudo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eth-p%2Ffish-plugin-sudo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eth-p%2Ffish-plugin-sudo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eth-p%2Ffish-plugin-sudo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eth-p","download_url":"https://codeload.github.com/eth-p/fish-plugin-sudo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244332908,"owners_count":20436117,"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":["fish","fish-plugin","fish-shell","fisher","fisherman","oh-my-fish","sudo"],"created_at":"2024-10-28T20:29:37.071Z","updated_at":"2025-03-24T00:32:35.958Z","avatar_url":"https://github.com/eth-p.png","language":"Shell","readme":"# Improved Sudo for Fish Shell\n\nAn improved `sudo` command for fish shell.\n\n\n\n## Features\n\n**Enter a superuser shell with a single word.**  \nNo fiddling with environment variables or having to type `sudo fish`.  \nJust type `sudo` and press enter!\n\n```fish\nsudo\n```\n\n**Press CTRL+S to toggle between a sudo and non-sudo command.**  \nOne of the most convenient features of bash is the `sudo !!` substitution.  \nWhile fish may not support `!!`, it can do one better with key bindings.  \n\nIf you run a command and find out you need to run it as a superuser, simply press UP and CTRL+S to get that command with the word sudo in front of it.\n\n```fish\napt-get update       # No permission.\nsudo apt-get update  # After pressing UP and CTRL+S.\n```\n\n\n\n\n## Install\n\nWith [fisher](https://github.com/jorgebucaran/fisher):\n\n```fish\nfisher install eth-p/fish-plugin-sudo\n```\n\n### Hotkey Support\n\nThe \u003ckbd\u003eCtrl+S\u003c/kbd\u003e hotkey is not added by default. In order to bind the hotkey, add the following to your `config.fish` file:\n\n```fish\nbind \\cs '__ethp_commandline_toggle_sudo.fish'\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feth-p%2Ffish-plugin-sudo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feth-p%2Ffish-plugin-sudo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feth-p%2Ffish-plugin-sudo/lists"}