Prefix your command line with "tsudo" using a keyboard shortcut.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Abreu 546646b46f
Initial commit
11 months ago
functions Initial commit 11 months ago
hooks Initial commit 11 months ago
.editorconfig Initial commit 11 months ago
.gitignore Initial commit 11 months ago
LICENSE Initial commit 11 months ago
README.md Initial commit 11 months ago
dependency.fish Initial commit 11 months ago
key_bindings.fish Initial commit 11 months ago
package Initial commit 11 months ago

README.md

GPL License Fish Shell Version Oh My Fish Framework

tsudope

A plugin for Oh My Fish

Prefix your command line with tsudo using a keyboard shortcut. An adaptation of the fish plugin sudope for Termux's tsudo.

Usage

Press Alt+s to activate it. It will add tsudo to the beginning of the line if missing, remove it if it is present while preserving the cursor position. If the current line is empty, it will do the same thing to the most recent history item.

Install

omf install tsudope