Commit graph

404 commits

Author SHA1 Message Date
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
Denis Isidoro
db96519c27
Merge pull request #222 from Phate6660/master
Add files via upload
2020-03-12 21:46:55 -03:00
Denis Isidoro
f6a4fec13d
Add support for variable dependency (#242)
Fixes #203
2020-03-12 21:39:15 -03:00
Denis Isidoro
c5b3b175f6
Add support for navi fn (#241)
Fixes #208
2020-03-12 21:05:18 -03:00
Denis Isidoro
5af2792386
Mention fzf (#240)
Fixes #226
2020-03-12 20:40:20 -03:00
Denis Isidoro
e32e0f1245
Fix delimiter (#239)
Fixes #230
2020-03-12 19:04:47 -03:00
Denis Isidoro
8d0c82c8a2
Merge pull request #236 from austinjones/fix-badcmd
Fix crash when user enters a command that doesn't match any cheats
2020-03-12 17:44:05 -03:00
Denis Isidoro
60a77e828a
Merge branch 'master' into fix-badcmd 2020-03-12 17:43:34 -03:00
Denis Isidoro
0f8b9853b6 Bump 2020-03-12 17:42:56 -03:00
Austin Jones
41951e22a4 Fix crash when user enters a command that doesn't exist 2020-03-12 14:16:56 -04:00
Denis Isidoro
ce9c22100a
Allow overriding FZF variables (#235)
`$FZF_DEFAULT_OPTS` won't work in some use cases because it has lower precedence then hardcoded settings such as `--exact`.

Usage:
```
export NAVI_FZF_OVERRIDES=" --no-exact"
navi
```

Fixes #232
2020-03-12 14:57:02 -03:00
Ashrith Mekala
f9d92054d6 Add apt cheat
Includes apt cheat sheet
2020-03-12 10:51:26 -07:00
Denis Isidoro
7ae019cf0e
Fix typo 2020-03-12 13:21:49 -03:00
Denis Isidoro
a1dea118c0
Fix path issues (#231)
Fixes #224 and #228
2020-03-12 13:03:04 -03:00
jobot0
67607e10e1
Add basic firebase cheatsheet 2020-03-12 09:08:36 +01:00
Denis Isidoro
4dffbe6f29 Fix brew formula script 2020-03-11 20:38:13 -03:00
Denis Isidoro
770793317b
Handle relative symlinks (#225)
Attempts to solve #224 and #223
2020-03-11 20:26:00 -03:00
Ash
9aa20f21c0
Add files via upload 2020-03-11 13:09:28 -04: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
2ac30999c2 Bump 2020-03-11 11:31:04 -03:00
Denis Isidoro
06eae50613
Minor fixes (#221) 2020-03-11 11:30:25 -03:00
Denis Isidoro
e6b7c2f358 Add script for getting SHA for specific version 2020-03-10 14:18:14 -03:00
Denis Isidoro
8069e6dbe2 Bump to 2.0.2 2020-03-10 14:11:19 -03:00
Denis Isidoro
751393309f
Defensive cheats folder (#220) 2020-03-10 14:01:28 -03:00
Denis Isidoro
44d072de94
Be more defensive with /dev/tty (#219) 2020-03-10 13:32:22 -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
4a1bbd39ab
Add support for metacomment (#216)
Fixes https://github.com/denisidoro/navi/issues/215
2020-03-09 15:02:54 -03:00
Denis Isidoro
233f5ca8c1 Terminal width fallback 2020-03-09 13:57:48 -03:00
asd
ff90946bdb Add ./scripts/brew sha 2020-03-07 18:45:10 -03:00
asd
44d3d1bec8 Fix linting 2020-03-07 18:37:35 -03:00
Denis Isidoro
766d074368
Merge pull request #212 from ruabmbua/fix-prompt-panic
Fixed OOB panic in replace_variables_from_snippet()
---

If navi enters a interactive prompt for filling out variables in snippets,
it is possible to panic, when the user SIGINT`s the process while using the prompt.
E.g. using strg+c.

Fixed by checking exit code 130 in promt_with(out)_suggestions(),
and returning early.
2020-03-07 18:11:21 -03:00
Denis Isidoro
62e0d2cb94
Move code to fzf.rs 2020-03-07 18:08:31 -03:00
Denis Isidoro
a0ebbee5c9
Merge branch 'master' into fix-prompt-panic 2020-03-07 18:07:16 -03:00
Denis Isidoro
ac61dd09b4
Fix use in subshell (#213) 2020-03-07 18:03:51 -03:00
Roland Ruckerbauer
9b3c132dd4 Fixed OOB panic in replace_variables_from_snippet()
Fixed by checking exit code 130 in promt_with(out)_suggestions(),
and returning early.
2020-03-07 15:02:19 +01:00
Denis Isidoro
dc4fe98f56
Fix best command (#210) 2020-03-05 17:40:14 -03:00
Denis Isidoro
fe26b00953
Follow symlinks for exe (#209) 2020-03-05 16:29:49 -03:00
Denis Isidoro
b3ab91a9a0 Add test cheat 2020-03-05 15:06:38 -03:00
Denis Isidoro
365294d920
Add GitHub action badge 2020-03-04 20:26:03 -03:00