Commit graph

61 commits

Author SHA1 Message Date
Denis Isidoro
de16846aba
Initial cheat repo support (#258)
This PR makes navi stop bundling `.cheat` files and makes it able to download from repos on GitHub, using a standardized config directory.

- it fixes #233 and #237
- it makes #52, #256 and #257 much easier to implement
- it makes #40 harder to implement
- it's an alternate solution to #140 
- it's influenced by #238 and #254.

This PR ended up being much bigger than I would like so if you could review only this description it would be already very nice!

When navi is started for the first time, a welcome cheatsheet is shown:
![Screenshot at 2020-03-15 10-20-04](https://user-images.githubusercontent.com/3226564/76702240-19fffd80-66a7-11ea-884f-97c565bc1ead.png)

If the user selects the first option, the user is prompted to download `.cheat`s from https://github.com/denisidoro/cheats: 
![Screenshot at 2020-03-15 10-20-35](https://user-images.githubusercontent.com/3226564/76702239-19fffd80-66a7-11ea-8f69-324f669b1e01.png)
![Screenshot at 2020-03-15 10-22-59](https://user-images.githubusercontent.com/3226564/76702236-18363a00-66a7-11ea-8ff4-53b497f85888.png)

The config folder is populated:
![Screenshot at 2020-03-15 10-21-11](https://user-images.githubusercontent.com/3226564/76702238-19676700-66a7-11ea-8367-3e7b5733f2b4.png)

When run again, cheats are available:
![Screenshot at 2020-03-15 10-21-34](https://user-images.githubusercontent.com/3226564/76702237-19676700-66a7-11ea-9c2a-d8829340f3e9.png)

### Breaking changes

In order to make navi stop bundling shell widgets as well, a breaking change has been introduced: `source $(navi widget bash)` won't work anymore. It should be `source <(navi widget bash)` now. Any ideas on how to make this transition more graceful?
2020-03-15 13:46:58 -03:00
asd
1678564800 💅 2020-03-14 18:14:30 -03:00
Denis Isidoro
3fa141846b
Allow multiline commands (#262)
Fixes #260
2020-03-14 18:08:57 -03:00
Ingolf Wagner
0d22fe49ab
pull request comments 2020-03-14 23:46:33 +08:00
Ingolf Wagner
2d86b64683
add --allow-extra to README 2020-03-14 20:32:01 +08:00
Denis Isidoro
f6a4fec13d
Add support for variable dependency (#242)
Fixes #203
2020-03-12 21:39:15 -03:00
Denis Isidoro
5af2792386
Mention fzf (#240)
Fixes #226
2020-03-12 20:40:20 -03:00
Denis Isidoro
7ae019cf0e
Fix typo 2020-03-12 13:21:49 -03:00
Denis Isidoro
da8dd42269
Bigger introduction 2020-03-11 13:04:25 -03:00
Denis Isidoro
5d121364e3
Update gif 2020-03-11 13:01:17 -03:00
Denis Isidoro
7e980b50d6
Reference unofficial formula 2020-03-11 11:32:46 -03:00
Denis Isidoro
aefc136491
Rename CI pipeline (#218) 2020-03-10 13:21:00 -03:00
Denis Isidoro
cbe8c22d98
Update README (#217) 2020-03-10 13:13:32 -03:00
Denis Isidoro
1cbb167b57
Allow custom dirs when running make (#214) 2020-03-09 18:41:06 -03:00
Denis Isidoro
365294d920
Add GitHub action badge 2020-03-04 20:26:03 -03:00
Denis Isidoro
5464e7e639
Update installation instructions 2020-03-04 20:08:58 -03:00
Denis Isidoro
8866459709 Fix README 2020-03-04 18:04:33 -03:00
Denis Isidoro
c5cd85bb41
Rust implementation (#197) 2020-03-04 18:01:23 -03:00
Denis Isidoro
684702e770
Mention rust 2020-02-25 11:04:28 -03:00
Denis Isidoro
a70c6dfadd
Add support for multiple choice (#175)
Fixes #173
2020-01-17 15:29:16 -03:00
Denis Isidoro
a36304dca4
Refer to official brew formula 2019-12-01 00:32:02 +00:00
Aaron Liu
d9daebea07
Update README.md 2019-11-10 08:04:58 +08:00
Aaron Liu
096c8db767
Update README.md 2019-11-03 08:17:53 +08:00
Denis Isidoro
840b96f62d
Update gif yet again 2019-10-30 10:57:55 -03:00
Denis Isidoro
434ab57dc2
Update demo gif (#143) 2019-10-29 16:17:42 -03:00
Denis Isidoro
a0c5a6293b
Refactor list visualization (#138)
Fixes #137 

![Demo](https://user-images.githubusercontent.com/3226564/67512211-b2e99a00-f66e-11e9-8ffe-09f30cb54599.png)
2019-10-28 16:56:19 -03:00
Denis Isidoro
70bf907840
Small update on README 2019-10-23 18:37:51 -03:00
Denis Isidoro
3fd49ed0f2
Minor upgrade instruction refactor 2019-10-23 13:59:15 -03:00
Denis Isidoro
cf090d546c Add instructions for fish widget 2019-10-14 13:44:52 -03:00
Alexandre Beaulieu
653d30c580
doc: fixed typos. 2019-10-12 13:00:37 -04:00
Alexandre Beaulieu
1a6407d9ff
doc(#121): Clarify that oh-my-zsh does not add navi to PATH. 2019-10-12 12:45:43 -04:00
Denis Isidoro
69e74204b2
Minor changes (#122) 2019-10-11 14:33:16 -03:00
Denis Isidoro
4792621b8c
Change quotes 2019-10-03 08:47:48 -03:00
Denis Isidoro
ae8de44df7
Install instruction updates (#106)
Fixes #51
2019-10-02 16:07:37 -03:00
Denis Isidoro
5eb5f64c5e Change demo gif 2019-10-02 14:47:46 -03:00
Denis Isidoro
56da729965
Minor README update (#103) 2019-10-02 12:13:42 -03:00
Denis Isidoro
4627b5db0b
Add widget for bash (#105)
Partially solves #37
2019-10-02 12:12:20 -03:00
Alexandre Beaulieu
022aee2b13
fix: oh-my-zsh update no longer invokes make install. 2019-10-01 18:23:51 -04:00
Alexandre Beaulieu
f6f643cec2
fix: renamed DST to plugins_dir. 2019-10-01 17:46:56 -04:00
Alexandre Beaulieu
286cb9f97f
doc: code review changes. 2019-10-01 17:41:34 -04:00
Alexandre Beaulieu
507bd277a9
doc: Added oh-my-zsh installation instructions. 2019-09-30 14:18:52 -04:00
Denis Isidoro
260966ba6c Improve zsh widget (#92) 2019-09-27 15:12:55 -03:00
Denis Isidoro
44d15bb53c
Refer to FZF_DEFAULT_OPTS (#80) 2019-09-26 10:50:25 -03:00
Denis Isidoro
84c0ff2dc8
Warn about variable name limitation 2019-09-25 08:28:29 -03:00
Denis Isidoro
9638fcc9bb
Add Github badges (#71) 2019-09-25 08:20:47 -03:00
Denis Isidoro
3dae2ce14b
Fix typos 2019-09-23 11:33:43 -03:00
Denis Isidoro
be92d158ad
Add install instructions again 2019-09-22 13:54:14 -03:00
Denis Isidoro
864391547a Fix link 2019-09-22 12:14:33 -03:00
Denis Isidoro
77acda383d
Add option for searching online repositories (#38) 2019-09-22 11:52:10 -03:00
Denis Isidoro
f853181f83
Bump to 0.7.0 (#32) 2019-09-21 20:16:20 -03:00