Update README.md
This commit is contained in:
parent
181b6af473
commit
6575ed1770
21
README.md
21
README.md
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue