Commit graph

696 commits

Author SHA1 Message Date
Denis Isidoro
2688a72633
Fix typos 2020-03-16 08:27:58 -03:00
Denis Isidoro
081f3216f3
Remove duplicates 2020-03-16 08:23:33 -03:00
Denis Isidoro
be4ea8424f
Add version to assets (#276) 2020-03-16 08:21:28 -03:00
Denis Isidoro
131a635867
Remove OpenSSL dependency (#275) 2020-03-16 08:16:47 -03:00
Denis Isidoro
7eccec0a51 linting 2020-03-16 08:14:02 -03:00
Denis Isidoro
dd6c54f089 wip 2020-03-16 08:13:55 -03:00
Denis Isidoro
503c6b54a3 bump 2020-03-16 08:03:05 -03:00
Denis Isidoro
ebcdb8d162 linting 2020-03-16 08:02:52 -03:00
Denis Isidoro
fcfa7843fc wip 2020-03-16 08:02:23 -03:00
Ingolf Wagner
b70fd7d66a
cargo: fix unnecessary openssl dependency 2020-03-16 14:23:46 +08:00
Denis Isidoro
d5a5bafeaa
Add pros 2020-03-15 22:28:39 -03:00
Denis Isidoro
8ec183ac96
Add anchor link to FZF_DEFAULT_OPTS 2020-03-15 22:19:13 -03:00
Denis Isidoro
ced2ebe26a
Add anchor link to data_dirs 2020-03-15 22:16:16 -03:00
Denis Isidoro
e93ff060a6
Remove brackets in navi repo add 2020-03-15 22:14:46 -03:00
Denis Isidoro
92cf10d10a
Allow repos with @ (#272) 2020-03-15 22:13:18 -03:00
Denis Isidoro
672fcc0c69
Improve README (#271) 2020-03-15 22:00:33 -03:00
Denis Isidoro
07134996e4
Use data_dir for cheats 2020-03-15 20:26:48 -03:00
Denis Isidoro
4593a50bd0 Fewer keywords 2020-03-15 19:49:38 -03:00
Denis Isidoro
5029722fc6 Add more labels to Cargo.toml 2020-03-15 19:47:00 -03:00
asd
7d7441d6c2 Vendored OpenSSL 2020-03-15 14:06:25 -03:00
asd
051832d1a5 OpenSSL 2020-03-15 13:56:25 -03:00
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
Denis Isidoro
f8e5ec844a
Merge pull request #266 from PurpleBooth/add-httpie-cheat
Add a sheet for HTTPie
2020-03-15 09:55:02 -03:00
Denis Isidoro
bbbd53effe
Merge pull request #265 from PurpleBooth/patch-1
Remove TODO
2020-03-15 09:54:52 -03:00
Billie Thompson
c0dec7fb15
Added a httpie cheat sheet
This is one of the commands I use a bit more. Here's a sheet to help
others use it too.
2020-03-15 12:33:28 +01:00
Billie Thompson
2e280ce369
Remove TODO
Looks like a TODO accidentally got left in this cheat sheet. This removes it.
2020-03-15 12:03:40 +01:00
Denis Isidoro
48c2b64f7f
Static newline regex (#264) 2020-03-14 18:22:39 -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
Denis Isidoro
5423cd8ccb
wip (#261) 2020-03-14 15:34:26 -03:00
Denis Isidoro
b809739113
Merge pull request #259 from mrVanDalo/feature/allow-extra
add `--allow-extra` option
2020-03-14 15:21:55 -03:00
Ingolf Wagner
0d22fe49ab
pull request comments 2020-03-14 23:46:33 +08:00
Ingolf Wagner
3617126f6a
cosmetics 2020-03-14 20:53:27 +08:00
Ingolf Wagner
af6fba3c31
run cargo fmt 2020-03-14 20:33:07 +08:00
Ingolf Wagner
2d86b64683
add --allow-extra to README 2020-03-14 20:32:01 +08:00
Ingolf Wagner
0a22398a47
add --allow-extra option 2020-03-14 20:32:00 +08:00
Ingolf Wagner
8669ba9829
changed suggestion processing and signaling for fzf 2020-03-14 20:32:00 +08:00
Ingolf Wagner
50627492f3
minor refactorings 2020-03-14 20:31:59 +08:00
Ingolf Wagner
8fdecb3fcd
add .idea to .gitignore 2020-03-14 20:26:26 +08:00
Denis Isidoro
e99e1511e5
Merge pull request #255 from mrVanDalo/feature/prompt-suggesions
add variable name to prompt with suggestions
2020-03-13 16:28:52 -03:00
Ingolf Wagner
6f4c5ba25b
add variable name to prompt with suggestions 2020-03-14 03:22:57 +08:00
Denis Isidoro
964d389911
Merge pull request #248 from toan2406/master
Update javascript cheats
2020-03-13 09:16:35 -03:00
Denis Isidoro
e40a0e2dc4
Reuse variables (#252)
Fixes #251
2020-03-13 08:27:19 -03:00
Toan Nguyen
79fe658a41 Remove redundant codes 2020-03-13 16:52:06 +07:00
Toan Nguyen
4520c7f065 Update json parsing script for js cheat 2020-03-13 15:02:16 +07:00
Toan Nguyen
fa6a902b5e Update javascript cheats 2020-03-13 14:23:04 +07:00
Denis Isidoro
f8e8da018b
Minor theme change (#246) 2020-03-12 23:58:51 -03:00
Denis Isidoro
7f4fc90116
Prevent panic when there are no cheats (#244)
Fixes #243
2020-03-12 23:32:28 -03:00
Denis Isidoro
95ed76f40c
Merge pull request #229 from jobot0/master
 Add basic firebase cheatsheet
2020-03-12 21:48:00 -03:00
Denis Isidoro
01cf94f7bc
Merge pull request #234 from ashrithr/master
Add apt cheat
2020-03-12 21:47:25 -03:00