Update README.md

This commit is contained in:
Abreu 2021-08-09 21:00:45 -03:00
parent 181b6af473
commit 6575ed1770
No known key found for this signature in database
GPG Key ID: 64835466FF55F7E1
1 changed files with 6 additions and 15 deletions

View File

@ -1,28 +1,19 @@
# tsudope
> *A plugin for [Oh My Fish](https://www.github.com/oh-my-fish/oh-my-fish).*
[![GPL License](https://img.shields.io/badge/license-GPL-blue.svg?longCache=true&style=flat-square)](/LICENSE)
[![Fish Shell Version](https://img.shields.io/badge/fish-v3.0.1-blue.svg?style=flat-square)](https://fishshell.com)
[![Oh My Fish Framework](https://img.shields.io/badge/Oh%20My%20Fish-Framework-blue.svg?style=flat-square)](https://www.github.com/oh-my-fish/oh-my-fish)
<br/>
# tsudope
### About
> A plugin for [Oh My Fish](https://www.github.com/oh-my-fish/oh-my-fish)
Prefix your command line with `tsudo ` using a keyboard shortcut. An adaptation of the fish plugin [sudope](github.com/oh-my-fish/plugin-sudope) for Termux's `tsudo`.
### Install
With [Oh-My-Fish]:
```fish
omf install tsudope
```
### 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
Ⓐ Made in Anarchy. No wage slaves were economically coerced into the making of this work.
```fish
omf install tsudope
```