Commit graph

63 commits

Author SHA1 Message Date
yuta100101
1823e19037 Fix install script 2022-10-09 13:16:00 +09:00
Denis Isidoro
ebb02e28ec
Refactor code base (#760) 2022-07-28 20:11:42 -03:00
Denis Isidoro
a36c26f922
Close widget on single ESC (#597)
Fixes #546 and #553
2021-08-07 15:57:22 -03:00
Denis Isidoro
425ce80530
Use correct bash binary in Makefile 2021-08-07 15:46:07 -03:00
Denis Isidoro
cd57b23b78
Fix path for bash used in tests (#591) 2021-08-07 10:38:10 -03:00
Denis Isidoro
fe37cd9107
Fix finder options (#590) 2021-08-07 10:31:53 -03:00
Denis Isidoro
4ac39e8b9b
Respect BIN_DIR in install script (#566) 2021-06-15 10:02:34 -03:00
Denis Isidoro
8a0318128f Use cargo directly in makefile 2021-04-19 18:07:16 -03:00
Denis Isidoro
1aab69e118
Install: add to $PATH (#530) 2021-04-19 10:51:24 -03:00
Denis Isidoro
7a7f1a3311
Refactor scripts (#527) 2021-04-19 09:54:35 -03:00
Denis Isidoro
90de292c1f
Rename osx target to apple-darwin (#526) 2021-04-19 07:11:23 -03:00
Denis Isidoro
f8adffd3ff
Remove support for alfred (#509) 2021-04-15 11:00:04 -03:00
Denis Isidoro
9095e376aa
Publish binaries for more platforms, including Windows (#490) 2021-04-11 12:04:12 -03:00
Denis Isidoro
17cd4f52d1
Fix all new warnings (#467) 2021-04-04 18:06:35 -03:00
Denis Isidoro
434fc4ac76
Improve code quality a little bit (#352)
Fixes #349
2020-04-25 15:30:05 -03:00
Denis Isidoro
cc2007c674
Refactor variable dependency code (#350) 2020-04-20 18:29:48 -03:00
Denis Isidoro
af9892667f Fix CD 2020-04-19 16:02:34 -03:00
Denis Isidoro
c7f919eaa0
Add support for Alfred (#347) 2020-04-19 15:51:04 -03:00
Denis Isidoro
69f09e8b69
Fix install script 2020-03-26 13:11:06 -03:00
Denis Isidoro
79a38158f9
Fix install script (#315) 2020-03-25 21:06:42 -03:00
Denis Isidoro
65154663db
Fix path error on initial run (#313)
Fixes #312 

This isn't idiomatic but it'll do for the time being
2020-03-24 11:42:18 -03:00
Denis Isidoro
6ed7cd12b5 Fix install script 2020-03-24 11:02:57 -03:00
Denis Isidoro
ed0759f9e3
Fix multiline behavior in the bash widget (#308)
Fixes #306 

This only happens when using the bash widget
2020-03-24 08:38:42 -03:00
Denis Isidoro
c48213b948
Fix install script for Linux aarch64 2020-03-22 17:07:32 -03:00
Denis Isidoro
2ca1d8fc85
Fix --multi with --column + refactors (#290) 2020-03-19 09:19:50 -03:00
Denis Isidoro
508801fdfb
Prevent shell execution 2020-03-16 10:44:27 -03:00
Denis Isidoro
62587ad4cf No need to pass version to scripts/tag 2020-03-16 10:17:53 -03:00
Denis Isidoro
2688a72633
Fix typos 2020-03-16 08:27:58 -03:00
Denis Isidoro
be4ea8424f
Add version to assets (#276) 2020-03-16 08:21:28 -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
fcfa7843fc wip 2020-03-16 08:02:23 -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
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
Denis Isidoro
4dffbe6f29 Fix brew formula script 2020-03-11 20:38:13 -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
1cbb167b57
Allow custom dirs when running make (#214) 2020-03-09 18:41:06 -03:00
asd
ff90946bdb Add ./scripts/brew sha 2020-03-07 18:45:10 -03:00
Denis Isidoro
b3ab91a9a0 Add test cheat 2020-03-05 15:06:38 -03:00
Denis Isidoro
c5cd85bb41
Rust implementation (#197) 2020-03-04 18:01:23 -03:00
Denis Isidoro
69e74204b2
Minor changes (#122) 2019-10-11 14:33:16 -03:00
Denis Isidoro
78638c67e4
Add fallback to tac (#108)
Fix #107
2019-10-03 12:56:36 -03:00
Denis Isidoro
97329b97f6
Show comment for command in preview window (#98) 2019-09-28 23:58:00 -03:00
Denis Isidoro
d04dfc1003
Allow variable names to include dashes and spaces (#97)
Based on https://github.com/denisidoro/navi/pull/95 by @engrravijain 

Fixes #60
2019-09-28 23:24:12 -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
a802671f6a
Bump to 0.9.3 (#70) 2019-09-25 08:16:30 -03:00