mirror of
https://github.com/denisidoro/navi
synced 2024-11-13 23:37:10 +00:00
Bump to 0.7.0 (#32)
This commit is contained in:
parent
324af72a0e
commit
f853181f83
3 changed files with 4 additions and 6 deletions
|
@ -1,14 +1,12 @@
|
||||||
# navi <img src="https://user-images.githubusercontent.com/3226564/65362934-b4432500-dbdf-11e9-8f75-815fbc5cbf8f.png" alt="icon" height="28px"/> [![CircleCI](https://circleci.com/gh/denisidoro/navi.svg?style=svg)](https://circleci.com/gh/denisidoro/navi)
|
# navi <img src="https://user-images.githubusercontent.com/3226564/65362934-b4432500-dbdf-11e9-8f75-815fbc5cbf8f.png" alt="icon" height="28px"/> [![CircleCI](https://circleci.com/gh/denisidoro/navi.svg?style=svg)](https://circleci.com/gh/denisidoro/navi)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
An interactive cheatsheet tool for the command-line so that you'll never say the following again:
|
An interactive cheatsheet tool for the command-line so that you'll never say the following again:
|
||||||
|
|
||||||
>— *How to run that command again?*<br>
|
>— *How to run that command again?*<br>
|
||||||
— *Oh, it's not in my bash history*<br>
|
— *Oh, it's not in my bash history*<br>
|
||||||
— *Geez, it's almost what I wanted but I need to change some args*
|
— *Geez, it's almost what I wanted but I need to change some args*
|
||||||
|
|
||||||
<img src="https://user-images.githubusercontent.com/3226564/65347073-8dbbc480-dbb4-11e9-886f-0f10d56def74.gif" alt="Demo" width="60%" />
|
![Demo](https://user-images.githubusercontent.com/3226564/65380182-69431380-dcac-11e9-9af8-0f7b3c869d0f.gif)
|
||||||
|
|
||||||
**navi** allows you to browse through cheatsheets (that you may write yourself or download from maintainers) and execute commands, prompting for argument values.
|
**navi** allows you to browse through cheatsheets (that you may write yourself or download from maintainers) and execute commands, prompting for argument values.
|
||||||
|
|
||||||
|
@ -82,7 +80,7 @@ For example, this is a valid `.cheat` file:
|
||||||
# Change branch
|
# Change branch
|
||||||
git checkout <branch>
|
git checkout <branch>
|
||||||
|
|
||||||
$ branch: git branch --format='%(refname:short)'
|
$ branch: git branch | awk '{print $NF}'
|
||||||
```
|
```
|
||||||
|
|
||||||
For advanced usage, please refer to the files in [/cheats](https://github.com/denisidoro/navi/tree/master/cheats).
|
For advanced usage, please refer to the files in [/cheats](https://github.com/denisidoro/navi/tree/master/cheats).
|
||||||
|
|
|
@ -58,4 +58,4 @@ git clean -dxf
|
||||||
# Sign all commits in a branch based on master
|
# Sign all commits in a branch based on master
|
||||||
git rebase master -S -f
|
git rebase master -S -f
|
||||||
|
|
||||||
$ branch: git branch --format='%(refname:short)'
|
$ branch: git branch | awk '{print $NF}'
|
||||||
|
|
2
navi
2
navi
|
@ -15,7 +15,7 @@ source "${SCRIPT_DIR}/src/main.sh"
|
||||||
##? --no-interpolation Prevent argument interpolation [default: false]
|
##? --no-interpolation Prevent argument interpolation [default: false]
|
||||||
##? --no-preview Hide command preview window [default: false]
|
##? --no-preview Hide command preview window [default: false]
|
||||||
|
|
||||||
VERSION="0.6.1"
|
VERSION="0.7.0"
|
||||||
docs::eval "$@"
|
docs::eval "$@"
|
||||||
|
|
||||||
main "$@"
|
main "$@"
|
||||||
|
|
Loading…
Reference in a new issue