-
Notifications
You must be signed in to change notification settings - Fork 499
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f5759f2
commit ebb02e2
Showing
72 changed files
with
1,556 additions
and
1,354 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "navi" | ||
version = "2.20.1" | ||
version = "2.21.0" | ||
authors = ["Denis Isidoro <[email protected]>"] | ||
edition = "2021" | ||
description = "An interactive cheatsheet tool for the command-line" | ||
|
@@ -19,8 +19,8 @@ disable-repo-management = [] | |
travis-ci = { repository = "denisidoro/navi", branch = "master" } | ||
|
||
[dependencies] | ||
regex = { version = "1.5.6", default-features = false, features = ["std", "unicode-perl"] } | ||
clap = { version = "3.2.8", features = ["derive", "cargo"] } | ||
regex = { version = "1.6.0", default-features = false, features = ["std", "unicode-perl"] } | ||
clap = { version = "3.2.14", features = ["derive", "cargo"] } | ||
crossterm = "0.24.0" | ||
lazy_static = "1.4.0" | ||
directories-next = "2.0.0" | ||
|
@@ -31,8 +31,8 @@ thiserror = "1.0.31" | |
strip-ansi-escapes = "0.1.1" | ||
edit = "0.1.4" | ||
remove_dir_all = "0.7.0" | ||
serde = { version = "1.0.138", features = ["derive"] } | ||
serde_yaml = "0.8.24" | ||
serde = { version = "1.0.140", features = ["derive"] } | ||
serde_yaml = "0.8.26" | ||
|
||
[lib] | ||
name = "navi" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[toolchain] | ||
channel = "1.56.0" | ||
channel = "1.62.0" | ||
components = [ "rustfmt", "clippy" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/usr/bin/env bash | ||
set -euo pipefail | ||
|
||
export NAVI_HOME="$(cd "$(dirname "$0")/.." && pwd)" | ||
export PROJ_HOME="$NAVI_HOME" | ||
export PROJ_NAME="navi" | ||
export CARGO_PATH="${NAVI_HOME}/core/Cargo.toml" | ||
|
||
# TODO: bump dotfiles + remove this fn | ||
log::note() { log::info "$@"; } | ||
export -f log::note | ||
|
||
dot::clone() { | ||
git clone 'https://github.com/denisidoro/dotfiles' "$DOTFILES" | ||
cd "$DOTFILES" | ||
git checkout 'v2022.07.16' | ||
} | ||
|
||
dot::clone_if_necessary() { | ||
[ -n "${DOTFILES:-}" ] && [ -x "${DOTFILES}/bin/dot" ] && return | ||
export DOTFILES="${NAVI_HOME}/target/dotfiles" | ||
dot::clone | ||
} | ||
|
||
dot::clone_if_necessary | ||
|
||
"${DOTFILES}/bin/dot" "$@" |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.