Commit graph

689 commits

Author SHA1 Message Date
Denis Isidoro
281950c1b9
Bump all possible dependencies(#729) 2022-05-15 12:14:19 -03:00
Denis Isidoro
7e297fc2b5
Fix path-related tests (#727) 2022-05-15 12:06:33 -03:00
Denis Isidoro
67d6a6a27f
Release binary for Linux ARM64(#728)
Fixes #726
2022-05-15 12:05:25 -03:00
Denis Isidoro
6dc6b82e6f
Merge pull request #707 from lacygoill/fix-typos
fix minor typos
2022-03-17 16:00:44 -03:00
lagygoill
2bd30e3099 fix minor typos 2022-03-16 22:25:00 +01:00
dependabot[bot]
537e2d6ad8
Bump crossterm from 0.22.1 to 0.23.0 (#683)
Bumps [crossterm](https://github.com/crossterm-rs/crossterm) from 0.22.1 to 0.23.0.
- [Release notes](https://github.com/crossterm-rs/crossterm/releases)
- [Changelog](https://github.com/crossterm-rs/crossterm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossterm-rs/crossterm/commits/0.23)

---
updated-dependencies:
- dependency-name: crossterm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-09 13:31:14 -03:00
dependabot[bot]
cdcc80b7e0
Bump serde from 1.0.135 to 1.0.136 (#679)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.135 to 1.0.136.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.135...v1.0.136)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-09 13:31:07 -03:00
Denis Isidoro
77403ca0e5
Merge pull request #697 from carlfriedrich/make-width-configurable-for-snippet-column
Make width configurable for snippet column
2022-03-06 07:40:45 -03:00
carlfriedrich
6b43872b90 Make width configurable for snippet column
Even though the options 'width_percentage' and 'width_min' were allowed
in the config.yaml file for all three columns (tag, comment, snippet),
they were not actually parsed for the snippet column. This patch makes
these settings work.
2022-03-04 18:50:42 +01:00
Denis Isidoro
528178e219
Merge pull request #686 from ukautz/feature/linux-multi-tenant
Add shared paths for cheat directory and config file
2022-02-15 15:59:02 -03:00
Ulrich Kautz
87f0ac0aec Use already existing env var names 2022-02-14 13:53:21 +00:00
Ulrich Kautz
ef036c3224 Allow compile time default paths for cheats and config
This CL makes it easier to install navi on multi-tenant Linux systems, by allowing to provide pre-install cheatsheets in shared folders (and potentially pre-installed config in shared folders).

This does not break or change the existing behaviour. The shared directory / config file is only used if
- There is not already a directory / config file in the user XDG location
- Navi is compiled with NAVI_CONFIG_FILE and/or NAVI_CHEATS_DIRECTORY env var set
- The paths defined in above env vars exist
2022-02-11 17:21:53 +00:00
Denis Isidoro
6a76afc535
Merge pull request #684 from ukautz/feature/disable-repo-management
Add build feature to disable repo management
2022-02-09 07:32:41 -03:00
Ulrich Kautz
b5b79b4bf2 Add build feature to disable repo management
Having a command to install cheatsheets from repositories on github is amazing and makes `navi` very easy to setup and get started. The repo contents provide the "meat" of `navi`. A one-liner can load a bunch of useful cheatsheets for a whole host of open source commands.

However, in locked down environments, where a high level of control of what is executed needs to be imposed, having the capability to download and use "arbitrary code from the internet" can be more harmful than good. Here you would likely want to manage all cheathsheets for `navi` carefully yourself. Possibly reviewing each cheathsheet individually. This CL provides a build feature that disables the whole `repo` sub-command tree to support that use-case.
2022-02-09 10:23:50 +00:00
Denis Isidoro
f86f9dd72e
Merge pull request #682 from aaronliu0130/patch-1
Remove references to Linuxbrew
2022-02-03 12:48:55 -03:00
Aaron Liu
f104ae1f8a
Remove references to Linuxbrew 2022-02-03 22:39:36 +08:00
Denis Isidoro
9f949a30c4
Merge pull request #678 from ukautz/feature/disable-command-execution
Add build feature to disable command execution
2022-01-28 11:18:23 -03:00
Ulrich Kautz
63e31baa74 Add build feature to disable command execution
This CL adds the build feature `disable-command-execution` that enforces the `--print` flag and thereby disables execution of commands.
2022-01-27 13:31:31 +00:00
dependabot[bot]
9d20d3df36
Bump serde from 1.0.133 to 1.0.135 (#677)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.133 to 1.0.135.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.133...v1.0.135)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-25 11:39:19 -03:00
dependabot[bot]
5945bdff46
Bump anyhow from 1.0.52 to 1.0.53 (#676)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.52 to 1.0.53.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.52...1.0.53)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-25 11:38:52 -03:00
Denis Isidoro
262bfc1895
Bump to 2.19.0 (#672)
Bump to 2.19.0
2022-01-18 09:01:28 -03:00
Denis Isidoro
32513aaccc Jan-18 08h55: Cargo.toml, Cargo.lock 2022-01-18 08:55:39 -03:00
Denis Isidoro
b556808b06
Merge pull request #671 from kidonng/patch-1
Improve fish widget code
2022-01-17 08:14:40 -03:00
Kid
462a55358c
Quote more 2022-01-17 07:54:29 +08:00
Kid
9f35e3ef69 Quotes 2022-01-16 19:17:28 +08:00
Kid
ad49f43157 Run fish_indent 2022-01-16 19:06:57 +08:00
Kid
53c1ddf42f Only bind insert mode when not using default keybindings 2022-01-16 19:06:09 +08:00
Kid
0160a44b3e Insert when not doing smart replace 2022-01-16 19:02:36 +08:00
Kid
9186d7bb7c
Trim current process 2022-01-16 18:37:46 +08:00
Kid
2bf4165e56
Update function name 2022-01-16 18:25:16 +08:00
Kid
84d4cad405
Improve fish widget code 2022-01-16 18:22:32 +08:00
Denis Isidoro
153d081d40
Merge pull request #670 from cherryblossom000/patch-1
Update legacy syntax from Elvish widget
2022-01-14 21:35:28 -03:00
cherryblossom000
c082c09935
Update legacy syntax from Elvish widget
This commit updates the legacy assignment and lambda syntax from the Elvish widget so it works on v0.17 without deprecation errors. This commit also refactors some of the code so it's cleaner.
2022-01-13 21:34:55 +11:00
Denis Isidoro
35b544f418
Bump clap from 3.0.0-beta.5 to 3.0.6 2022-01-12 08:50:55 -03:00
dependabot[bot]
e3cae3d46f
Bump serde from 1.0.132 to 1.0.133 (#666)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.132 to 1.0.133.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.132...v1.0.133)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-12 08:50:21 -03:00
Denis Isidoro
f3e237de4a
Fix tldr test (#669) 2022-01-12 08:50:07 -03:00
dependabot[bot]
a3a48419de
Bump anyhow from 1.0.51 to 1.0.52 (#662)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.51 to 1.0.52.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.51...1.0.52)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-28 09:11:49 -03:00
dependabot[bot]
0aec91d4bc
Bump serde from 1.0.131 to 1.0.132 (#660)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.131 to 1.0.132.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.131...v1.0.132)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-20 19:47:31 -03:00
dependabot[bot]
7ca098da81
Bump serde from 1.0.130 to 1.0.131 (#652)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.130 to 1.0.131.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.130...v1.0.131)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-19 17:33:05 -03:00
dependabot[bot]
cb27fb3834
Bump serde_yaml from 0.8.21 to 0.8.23 (#653)
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml) from 0.8.21 to 0.8.23.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases)
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.8.21...0.8.23)

---
updated-dependencies:
- dependency-name: serde_yaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-19 17:32:51 -03:00
Denis Isidoro
91783f6764
Merge pull request #655 from DevAtDawn/master
Add “smart replace” functionality to the fish shell widget
2021-12-19 17:04:04 -03:00
Denis Isidoro
d672d6253d
Fix lint issues (#658) 2021-12-19 17:00:11 -03:00
DevAtDawn
e7dea3ed68
FINAL v1
the error handling here made me cry (making esc/ctrl+c/ctrl+g exiting work without issues)
2021-12-16 11:45:57 -07:00
DevAtDawn
5e3215466d
Update navi.plugin.fish 2021-12-16 10:43:52 -07:00
DevAtDawn
38f807c1f6
finished/working with extra comments 2021-12-16 06:54:09 -07:00
DevAtDawn
b756573be8
Update navi.plugin.fish 2021-12-16 05:35:15 -07:00
DevAtDawn
d0b8b09f94
keybindings
\cg smart_replace
2021-12-16 05:27:13 -07:00
DevAtDawn
44d8dfc01d
Update navi.plugin.fish 2021-12-16 05:21:07 -07:00
DevAtDawn
487417574d
Notes
Notes
2021-12-16 04:24:21 -07:00
DevAtDawn
a5d295f828
Fish smart replace
Add “smart replace” functionality to the fish shell widget
2021-12-16 03:54:41 -07:00