Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/oh-my-fish/plugin-thefuck

⚡️ Provide fast and painless support to TheFuck
https://github.com/oh-my-fish/plugin-thefuck

fish oh-my-fish thefuck

Last synced: about 2 months ago
JSON representation

⚡️ Provide fast and painless support to TheFuck

Awesome Lists containing this project

README

        

[![][travis-badge]][travis-link]
![][license-badge]







# thefuck

This plug-in creates the necessary function to be used with [The Fuck][thefuck].
It brings:

* Fast initialization (benchmark: diff is 10ms, median)
* Lazy auto-update (only when The Fuck gets updated)
* Key binding for command line replacement

## Install

After [installing The Fuck][thefuck-install], proceed:

```fish
$ omf install thefuck
```

## Optional key binding

To use a key bind just add it to your `fish_user_key_bindings` function:

```fish
function fish_user_key_bindings
# ...
bind \e\e 'thefuck-command-line' # Bind EscEsc to thefuck
# ...
end
```

## Usage

```fish
$ git brch
$ fuck
```

# License

[MIT][mit] © [scorphus][author] et [al][contributors]

[thefuck]: https://github.com/nvbn/thefuck
[thefuck-install]: https://github.com/nvbn/thefuck/#requirements

[mit]: http://opensource.org/licenses/MIT
[author]: https://github.com/scorphus
[contributors]: https://github.com/oh-my-fish/plugin-thefuck/graphs/contributors
[omf-link]: https://www.github.com/oh-my-fish/oh-my-fish

[license-badge]: https://img.shields.io/badge/license-MIT-007EC7.svg?style=flat-square
[travis-badge]: http://img.shields.io/travis/oh-my-fish/plugin-thefuck.svg?style=flat-square
[travis-link]: https://travis-ci.org/oh-my-fish/plugin-thefuck