summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Nguyen <benjamin.van.nguyen@gmail.com>2023-03-20 02:59:39 -0700
committerBenjamin Nguyen <benjamin.van.nguyen@gmail.com>2023-03-20 02:59:39 -0700
commit699e45060c3037d12526b3b3ae8a22e64d4f4b25 (patch)
treecbfe0a5d059600c5fe985a6c0649ef60f8ec9aba
parent9b771234ab2bab93978b7038b25864af42ac45ff (diff)
version bumps ad doc updatev1.6.0
-rw-r--r--CHANGELOG.md21
-rw-r--r--Cargo.lock2
-rw-r--r--Cargo.toml2
-rw-r--r--README.md10
-rw-r--r--src/render/context/mod.rs4
5 files changed, 35 insertions, 4 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 43489d6..7e396be 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,27 @@ All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
+## [1.6.0] - 2023-03-20
+
+### What's Changed
+* Add NetBSD instructions by @0323pin in https://github.com/solidiquis/erdtree/pull/77
+* Add repology badge by @jubalh in https://github.com/solidiquis/erdtree/pull/76
+* fix issue where level wasn't being read from config by @solidiquis in https://github.com/solidiquis/erdtree/pull/78
+* add scoop manifest by @fawni in https://github.com/solidiquis/erdtree/pull/80
+* default to num logical cpus rather than 4 threads by @solidiquis in https://github.com/solidiquis/erdtree/pull/81
+* Add support for generating shell completions by @Brezak in https://github.com/solidiquis/erdtree/pull/82
+* Fix miscoloration of directories that have extension by @fawni in https://github.com/solidiquis/erdtree/pull/83
+* [Optimization] - Upgraded heap-based tree data structure to an index-tree by @solidiquis in https://github.com/solidiquis/erdtree/pull/86
+* Replace tempdir crate with tempfile crate by @Brezak in https://github.com/solidiquis/erdtree/pull/87
+* fix issue where ansi escapes were being printed raw on windows by @solidiquis in https://github.com/solidiquis/erdtree/pull/90
+
+### New Contributors
+* @0323pin made their first contribution in https://github.com/solidiquis/erdtree/pull/77
+* @jubalh made their first contribution in https://github.com/solidiquis/erdtree/pull/76
+* @Brezak made their first contribution in https://github.com/solidiquis/erdtree/pull/82
+
+**Full Changelog**: https://github.com/solidiquis/erdtree/compare/v1.5.2...1.6.0
+
## [1.5.2] - 2023-03-15
### Bug Fixes
diff --git a/Cargo.lock b/Cargo.lock
index a35f08d..97cb846 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -175,7 +175,7 @@ dependencies = [
[[package]]
name = "erdtree"
-version = "1.5.2"
+version = "1.6.0"
dependencies = [
"ansi_term",
"clap",
diff --git a/Cargo.toml b/Cargo.toml
index 688c92a..383c164 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "erdtree"
-version = "1.5.2"
+version = "1.6.0"
edition = "2021"
authors = ["Benjamin Nguyen <benjamin.van.nguyen@gmail.com>"]
description = """
diff --git a/README.md b/README.md
index d0bec81..039cf67 100644
--- a/README.md
+++ b/README.md
@@ -29,6 +29,7 @@ A modern, vibrant, and multi-threaded file-tree visualizer and disk usage analyz
- [Hardlinks](#hardlinks)
- [File coloring](#file-coloring)
- [Icons](#icons)
+ - [Completions](#completions)
* [Comparisons against similar programs](#comparisons-against-similar-programs)
- [tree command](#tree-command)
- [Advantages over exa --tree](#advantages-over-exa---tree)
@@ -211,6 +212,15 @@ If your icons look something like this:
this means that the font you are using doesn't include the relevant glyphs. To resolve this issue download a [NerdFont](https://www.nerdfonts.com/) and hook it up to your terminal emulator.
+### Completions
+
+`--completions` is used to generate auto-completions for common shells so that the `tab` key can attempt to complete your command or give you hints; where you place the output highly depends on your shell as well as your setup. In my environment where I use `zshell` with `oh-my-zsh`, I would install completions like so:
+
+```
+$ et --completions zsh > ~/.oh-my-zsh/completions/_et
+$ source ~/.zshrc
+```
+
## Comparisons against similar programs
### `tree` command
diff --git a/src/render/context/mod.rs b/src/render/context/mod.rs
index 4f1c195..f17d0ee 100644
--- a/src/render/context/mod.rs
+++ b/src/render/context/mod.rs
@@ -15,7 +15,7 @@ use std::{
usize,
};
-/// Operations to load in `.erdtree.toml` defaults.
+/// Operations to load in defaults from configuration file.
pub mod config;
/// Unit tests for [Context]
@@ -26,7 +26,7 @@ mod test;
#[derive(Parser, Debug)]
#[command(name = "erdtree")]
#[command(author = "Benjamin Nguyen. <benjamin.van.nguyen@gmail.com>")]
-#[command(version = "1.5.2")]
+#[command(version = "1.6.0")]
#[command(about = "erdtree (et) is a multi-threaded filetree visualizer and disk usage analyzer.", long_about = None)]
pub struct Context {
/// Root directory to traverse; defaults to current working directory