diff --git a/CHANGELOG.md b/CHANGELOG.md index 2300c4f..c7a2d23 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## Unreleased +## [0.7.3] - 2020-08-05 ### Added @@ -264,6 +264,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - GitHub Actions pipeline to build and upload releases. - Support for zsh. +[0.7.3]: https://github.com/ajeetdsouza/zoxide/compare/v0.7.2...v0.7.3 [0.7.2]: https://github.com/ajeetdsouza/zoxide/compare/v0.7.1...v0.7.2 [0.7.1]: https://github.com/ajeetdsouza/zoxide/compare/v0.7.0...v0.7.1 [0.7.0]: https://github.com/ajeetdsouza/zoxide/compare/v0.6.0...v0.7.0 diff --git a/Cargo.lock b/Cargo.lock index cafafbe..1324dd1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -57,9 +57,9 @@ dependencies = [ [[package]] name = "assert_cmd" -version = "1.0.7" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d20831bd004dda4c7c372c19cdabff369f794a95e955b3f13fe460e3e1ae95f" +checksum = "c98233c6673d8601ab23e77eb38f999c51100d46c5703b17288c57fddf3a1ffe" dependencies = [ "bstr", "doc-comment", @@ -115,9 +115,9 @@ dependencies = [ [[package]] name = "bstr" -version = "0.2.16" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90682c8d613ad3373e66de8c6411e0ae2ab2571e879d2efbf73558cc66f21279" +checksum = "a40b47ad93e1a5404e6c18dec46b628214fee441c70f4ab5d6942142cc268a3d" dependencies = [ "lazy_static", "memchr", @@ -309,15 +309,15 @@ checksum = "320cfe77175da3a483efed4bc0adc1968ca050b098ce4f2f1c13a56626128790" [[package]] name = "memchr" -version = "2.4.0" +version = "2.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b16bd47d9e329435e309c58469fe0791c2d0d1ba96ec0954152a5ae2b04387dc" +checksum = "0ee1c47aaa256ecabcaea351eae4a9b01ef39ed810004e298d2511ed284b1525" [[package]] name = "nom" -version = "6.1.2" +version = "6.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7413f999671bd4745a7b624bd370a569fb6bc574b23c83a3c5ed2e453f3d5e2" +checksum = "9c5c51b9083a3c620fa67a2a635d1ce7d95b897e957d6b28ff9a5da960a103a6" dependencies = [ "bitvec", "funty", @@ -350,15 +350,6 @@ version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "afb2e1c3ee07430c2cf76151675e583e0f19985fa6efae47d6848a3e2c824f85" -[[package]] -name = "pest" -version = "2.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10f4872ae94d7b90ae48754df22fd42ad52ce740b8f370b03da4835417403e53" -dependencies = [ - "ucd-trie", -] - [[package]] name = "ppv-lite86" version = "0.2.10" @@ -516,9 +507,9 @@ dependencies = [ [[package]] name = "rstest" -version = "0.10.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "041bb0202c14f6a158bbbf086afb03d0c6e975c2dec7d4912f8061ed44f290af" +checksum = "2288c66aeafe3b2ed227c981f364f9968fa952ef0b30e84ada4486e7ee24d00a" dependencies = [ "cfg-if", "proc-macro2", @@ -529,9 +520,9 @@ dependencies = [ [[package]] name = "rustc_version" -version = "0.3.3" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0dfe2087c51c460008730de8b57e6a320782fbfb312e1f4d520e6c6fae155ee" +checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" dependencies = [ "semver", ] @@ -544,36 +535,24 @@ checksum = "71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e" [[package]] name = "semver" -version = "0.11.0" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f301af10236f6df4160f7c3f04eec6dbc70ace82d23326abad5edee88801c6b6" -dependencies = [ - "semver-parser", -] - -[[package]] -name = "semver-parser" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00b0bef5b7f9e0df16536d3961cfb6e84331c065b4066afb39768d0e319411f7" -dependencies = [ - "pest", -] +checksum = "568a8e6258aa33c13358f81fd834adb854c6f7c9468520910a9b1e8fac068012" [[package]] name = "serde" -version = "1.0.126" +version = "1.0.127" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec7505abeacaec74ae4778d9d9328fe5a5d04253220a85c4ee022239fc996d03" +checksum = "f03b9878abf6d14e6779d3f24f07b2cfa90352cfec4acc5aab8f1ac7f146fae8" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.126" +version = "1.0.127" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "963a7dbc9895aeac7ac90e74f34a5d5261828f79df35cbed41e10189d3804d43" +checksum = "a024926d3432516606328597e0f224a51355a493b49fdd67e9209187cbe55ecc" dependencies = [ "proc-macro2", "quote", @@ -647,12 +626,6 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a7f741b240f1a48843f9b8e0444fb55fb2a4ff67293b50a9179dfd5ea67f8d41" -[[package]] -name = "ucd-trie" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56dee185309b50d1f11bfedef0fe6d036842e3fb77413abef29f8f8d1c5d4c1c" - [[package]] name = "unicode-segmentation" version = "1.8.0" @@ -737,7 +710,7 @@ checksum = "85e60b0d1b5f99db2556934e21937020776a5d31520bf169e851ac44e6420214" [[package]] name = "zoxide" -version = "0.7.2" +version = "0.7.3" dependencies = [ "anyhow", "askama", diff --git a/Cargo.toml b/Cargo.toml index b30a3e2..0788f42 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "zoxide" -version = "0.7.2" +version = "0.7.3" authors = ["Ajeet D'Souza <98ajeet@gmail.com>"] edition = "2018" description = "A smarter cd command for your terminal" @@ -29,7 +29,7 @@ rand = { version = "0.8.4", features = [ [dev-dependencies] assert_cmd = "1.0.1" -rstest = "0.10.0" +rstest = "0.11.0" [build-dependencies] clap = "3.0.0-beta.2" diff --git a/README.md b/README.md index a89915d..c6787bc 100644 --- a/README.md +++ b/README.md @@ -163,13 +163,7 @@ zoxide init fish | source
-nushell v0.32+ - -Initialize the `zoxide` script: - -```sh -zoxide init nushell --hook prompt | save ~/.zoxide.nu -``` +nushell v0.33+ Add this to your configuration (find it by running `config path` in Nushell): diff --git a/man/zoxide-init.1 b/man/zoxide-init.1 index 3ebc643..2a38003 100644 --- a/man/zoxide-init.1 +++ b/man/zoxide-init.1 @@ -28,12 +28,6 @@ Add this to your configuration (usually \fI~/.config/fish/config.fish\fR): .fi .TP .B nushell -Create a Nushell script: -.sp -.nf - \fBzoxide init nushell --hook prompt | save ~/.zoxide.nu\fR -.fi -.sp Add this to your configuration (find it by running \fBconfig path\fR in Nushell): .sp diff --git a/templates/nushell.txt b/templates/nushell.txt index 7bfc199..4f222a5 100644 --- a/templates/nushell.txt +++ b/templates/nushell.txt @@ -95,11 +95,8 @@ alias {{cmd}}i = __zoxide_zi {%- endmatch %} {{ section }} -# To initialize zoxide, first create a Nushell script: -# -# zoxide init nushell --hook prompt | save ~/.zoxide.nu -# -# Add this to your configuration (find it by running `config path` in Nushell): +# To initialize zoxide, add this to your configuration (find it by running +# `config path` in Nushell): # # prompt = '__zoxide_hook;__zoxide_prompt' # startup = ['zoxide init nushell --hook prompt | save ~/.zoxide.nu', 'source ~/.zoxide.nu']