Prefix your command line with "tsudo" using a keyboard shortcut.
functions | ||
hooks | ||
.editorconfig | ||
.gitignore | ||
dependency.fish | ||
key_bindings.fish | ||
LICENSE | ||
package | ||
README.md |
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