Commit graph

37 commits

Author SHA1 Message Date
Denis Isidoro
00a2d2b91e Escape subshells in cheatsheets (#90)
Fix #85
2019-09-27 15:12:55 -03:00
Denis Isidoro
303f9f67d1 Remove unnecessary echo 2019-09-27 15:12:55 -03:00
Denis Isidoro
473b409c93 Store cheatsheets in memory (#86)
Fixes #61 and kind of fixes #76 (actually it still depend on tags to find a snippet but that's not a problem anymore since everything is in memory now)
2019-09-27 15:12:55 -03:00
Denis Isidoro
b6a5ac1495 Improve test coverage (#84)
Add integration tests
2019-09-27 15:12:55 -03:00
Denis Isidoro
beab843c1e Add option for calling best match directly (#83)
Fix #62
2019-09-27 15:12:55 -03:00
Denis Isidoro
9dce96a871 Improve lib for collections (#82) 2019-09-27 15:12:55 -03:00
Denis Isidoro
1b12ffa330 Refactor option parsing (#79) 2019-09-27 15:12:55 -03:00
Denis Isidoro
093bac0e9f Add MVP for functional programming 2019-09-27 15:12:55 -03:00
Denis Isidoro
64be01bf1a
Fix escaping issues (#73)
Fix #72
2019-09-25 11:44:57 -03:00
Denis Isidoro
a802671f6a
Bump to 0.9.3 (#70) 2019-09-25 08:16:30 -03:00
Denis Isidoro
d974340939
Suppress tput errors (#69) 2019-09-25 08:04:06 -03:00
Denis Isidoro
ea0fb00371
Autoselect on single option (#68)
Based on #https://github.com/denisidoro/navi/pull/53 by @nikush.

Fixes #44.
2019-09-25 08:02:35 -03:00
Denis Isidoro
516578479c
Fix snippets with multiple arguments (#67) 2019-09-25 07:50:32 -03:00
Denis Isidoro
36cd52f93d
Minor refactor (#57)
- [x] Define OPTIONS as global in opts::eval
- [x] Add script
- [x] Minor changes
2019-09-24 16:13:57 -03:00
Denis Isidoro
2ee253a56e
Add workaround for --help (#54)
My latest refactor didn't play nice with `--help`so I'm adding this workaround
2019-09-23 19:52:02 -03:00
Denis Isidoro
95fc254736
Add MVP for zsh widget (#50)
Related: #37
2019-09-23 18:14:58 -03:00
Denis Isidoro
c4e9c7a90a
Refactor code (#49)
Use dictionaries + more
2019-09-23 17:46:16 -03:00
Denis Isidoro
2753e84ea6
Revert "Use dictionaries (#47)" (#48)
This reverts commit 9848d7b39a.
2019-09-23 15:08:36 -03:00
Denis Isidoro
9848d7b39a
Use dictionaries (#47)
In order to cleanup the code

Related: https://medium.com/@den.isidoro/dictionaries-in-shell-scripts-61d34e1c91c6

Possibly fix #43 (but may bring other inconsistencies)
2019-09-23 14:36:15 -03:00
Denis Isidoro
13446d9883
Prevent wait_for error (#46)
Fix #45
2019-09-23 14:15:19 -03:00
Denis Isidoro
a21f39ee64
Fix local readonly (#42)
Based on https://github.com/denisidoro/navi/pull/12 by @qubitrenegade
2019-09-23 09:05:47 -03:00
Denis Isidoro
b3f8e0b374
Improve test runner (#41) 2019-09-23 08:56:15 -03:00
Denis Isidoro
638a3d2fc9 Fix preview 2019-09-22 12:10:51 -03:00
Denis Isidoro
77acda383d
Add option for searching online repositories (#38) 2019-09-22 11:52:10 -03:00
Denis Isidoro
0df4b9123d
Fix linting (#30) 2019-09-21 19:24:09 -03:00
Denis Isidoro
44c4d9551f
Validate variable names (#29) 2019-09-21 19:21:46 -03:00
Denis Isidoro
d42d192bdd
Add preview window (#28)
Fix #21
2019-09-21 18:55:35 -03:00
Denis Isidoro
c8764ae224
Warn about fzf if not installed (#27)
Fix #13
2019-09-21 17:43:17 -03:00
Denis Isidoro
fd9d9974e7
Prevent printing result in some cases with --no-interpolation (#25)
Fix #19 and #11
2019-09-21 17:29:46 -03:00
Denis Isidoro
1a111a97d6
Fix indentation (#8)
The code was indented using `dot code beautify`

Related: https://github.com/denisidoro/dotfiles
2019-09-20 20:08:13 -03:00
Denis Isidoro
2bc52976c2
Add tests (#3) 2019-09-20 18:44:51 -03:00
Denis Isidoro
9cb06524c0 v0.5.0 2019-09-20 16:00:46 -03:00
Denis Isidoro
5a00cb4417
Improve README (#1) 2019-09-20 14:42:51 -03:00
Denis Isidoro
132aee10ce 0.3.0 2019-09-20 14:01:12 -03:00
Denis Isidoro
4c9f8ba2ff Move script 2019-09-20 10:59:53 -03:00
Denis Isidoro
588be03ae8 Make script executable 2019-09-20 10:40:00 -03:00
Denis Isidoro
3fd0e3f5cb First commit 2019-09-20 10:38:58 -03:00