diff options
author | Denis Isidoro <denisidoro@users.noreply.github.com> | 2019-09-21 20:16:20 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-21 20:16:20 -0300 |
commit | f853181f830e8a8d1792617eb07eb3f644706934 (patch) | |
tree | f8dee9e6e8d0ad50f5b8c6eaada36255a0f13107 | |
parent | 324af72a0e46986765f47bcefdd2d944daac9482 (diff) |
Bump to 0.7.0 (#32)v0.7.0
-rw-r--r-- | README.md | 6 | ||||
-rw-r--r-- | cheats/git.cheat | 2 | ||||
-rwxr-xr-x | navi | 2 |
3 files changed, 4 insertions, 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) - - An interactive cheatsheet tool for the command-line so that you'll never say the following again: >— *How to run that command again?*<br> — *Oh, it's not in my bash history*<br> — *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. @@ -82,7 +80,7 @@ For example, this is a valid `.cheat` file: # Change 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). diff --git a/cheats/git.cheat b/cheats/git.cheat index cc79fd5..7913d94 100644 --- a/cheats/git.cheat +++ b/cheats/git.cheat @@ -58,4 +58,4 @@ git clean -dxf # Sign all commits in a branch based on master git rebase master -S -f -$ branch: git branch --format='%(refname:short)' +$ branch: git branch | awk '{print $NF}' @@ -15,7 +15,7 @@ source "${SCRIPT_DIR}/src/main.sh" ##? --no-interpolation Prevent argument interpolation [default: false] ##? --no-preview Hide command preview window [default: false] -VERSION="0.6.1" +VERSION="0.7.0" docs::eval "$@" main "$@" |