Prefix your command line with "tsudo" using a keyboard shortcut.
Go to file
2021-08-09 23:23:19 -03:00
functions Initial commit 2021-08-09 23:23:19 -03:00
hooks Initial commit 2021-08-09 23:23:19 -03:00
.editorconfig Initial commit 2021-08-09 23:23:19 -03:00
.gitignore Initial commit 2021-08-09 23:23:19 -03:00
dependency.fish Initial commit 2021-08-09 23:23:19 -03:00
key_bindings.fish Initial commit 2021-08-09 23:23:19 -03:00
LICENSE Initial commit 2021-08-09 23:23:19 -03:00
package Initial commit 2021-08-09 23:23:19 -03:00
README.md Initial commit 2021-08-09 23:23:19 -03:00

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