Commit graph

713 commits

Author SHA1 Message Date
Kian-Meng Ang
5c6da68122 Prettify md/yaml files
Resolved via `prettier -w .`
2022-09-08 20:56:04 +08:00
Denis Isidoro
9d862344e6
Minor code base improvements (#767) 2022-07-29 19:25:36 -03:00
Denis Isidoro
8b78d54863
Improve error handling for cheatsh and tldr (#766)
Fixes #695 and #703
2022-07-29 18:53:18 -03:00
Denis Isidoro
d68c4437a1
Support multi-word arguments in FZF overrides (#765)
Fixes #752
2022-07-28 20:17:43 -03:00
Denis Isidoro
81cd721b76
Fallback to nano if EDITOR isn't set (#764)
Fixes #759
2022-07-28 20:13:23 -03:00
Denis Isidoro
ebb02e28ec
Refactor code base (#760) 2022-07-28 20:11:42 -03:00
Denis Isidoro
f5759f26aa
Merge pull request #751 from pbzweihander/fix-typo-in-installation-docs
Fix typo in installation docs
2022-07-08 11:14:36 -03:00
pbzweihander
80f4a3dd9a
Fix typo in installation docs 2022-07-08 11:15:34 +09:00
dependabot[bot]
7666484ee4
Bump crossterm from 0.23.2 to 0.24.0 (#750)
Bumps [crossterm](https://github.com/crossterm-rs/crossterm) from 0.23.2 to 0.24.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.24)

---
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-07-07 08:18:55 -03:00
dependabot[bot]
4a3aac37d9
Bump clap from 3.2.6 to 3.2.8 (#748)
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.6 to 3.2.8.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.6...v3.2.8)

---
updated-dependencies:
- dependency-name: clap
  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-07-05 20:31:45 -03:00
dependabot[bot]
484615af1c
Bump serde from 1.0.137 to 1.0.138 (#749)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.137 to 1.0.138.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.137...v1.0.138)

---
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-07-05 20:31:36 -03:00
dependabot[bot]
5e71a13b9b
Bump clap from 3.2.1 to 3.2.6 (#747)
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.1 to 3.2.6.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v3.2.1...v3.2.6)

---
updated-dependencies:
- dependency-name: clap
  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-06-27 20:08:23 -03:00
dependabot[bot]
275a2cbdd9
Bump anyhow from 1.0.57 to 1.0.58 (#743)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.57 to 1.0.58.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.57...1.0.58)

---
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-06-22 07:00:39 -03:00
dependabot[bot]
f649de95c9
Bump clap from 3.1.18 to 3.2.1 (#741)
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.18 to 3.2.1.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.1.18...clap_complete-v3.2.1)

---
updated-dependencies:
- dependency-name: clap
  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-06-14 11:57:12 -03:00
dependabot[bot]
49570bf7b5
Bump edit from 0.1.3 to 0.1.4 (#739)
Bumps [edit](https://github.com/milkey-mouse/edit) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/milkey-mouse/edit/releases)
- [Commits](https://github.com/milkey-mouse/edit/compare/v0.1.3...v0.1.4)

---
updated-dependencies:
- dependency-name: edit
  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-06-12 09:31:40 -04:00
dependabot[bot]
7c9ad641c7
Bump crossbeam-utils from 0.8.5 to 0.8.8 (#738)
Bumps [crossbeam-utils](https://github.com/crossbeam-rs/crossbeam) from 0.8.5 to 0.8.8.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-utils-0.8.5...crossbeam-utils-0.8.8)

---
updated-dependencies:
- dependency-name: crossbeam-utils
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-12 09:31:22 -04:00
dependabot[bot]
afbae1f935
Bump crossbeam-deque from 0.8.0 to 0.8.1 (#737)
Bumps [crossbeam-deque](https://github.com/crossbeam-rs/crossbeam) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-deque-0.8.0...crossbeam-deque-0.8.1)

---
updated-dependencies:
- dependency-name: crossbeam-deque
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-12 09:31:11 -04:00
Denis Isidoro
2e1530bb9b
Merge pull request #735 from papanito/papanito/update-windows-install-docu
feat: add install docu for windows powershell
2022-05-30 13:54:39 -03:00
Adrian Wyssmann
9c9034f2f1
feat: add install docu for windows powershell
As suggested in [this comment](https://github.com/denisidoro/navi/issues/40#issuecomment-1059836964)
2022-05-30 14:09:37 +02:00
dependabot[bot]
17725d22b5
Bump regex from 1.5.5 to 1.5.6 (#734)
Bumps [regex](https://github.com/rust-lang/regex) from 1.5.5 to 1.5.6.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.5.5...1.5.6)

---
updated-dependencies:
- dependency-name: regex
  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-05-23 20:43:41 -03:00
Denis Isidoro
57348e0f74
Fix version in Cargo.toml (#732) 2022-05-18 09:02:35 -03:00
Denis Isidoro
91763d85aa
Merge pull request #731 from chenrui333/patch-1
fix: update version
2022-05-18 09:00:42 -03:00
Rui Chen
5732bfc8a9
update version 2022-05-15 22:52:44 -04:00
Denis Isidoro
ff638495d1
Temporarily remove lint checks (#730) 2022-05-15 12:22:48 -03:00
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