Skip to content

Commit 0f8f226

Browse files
author
Ninjani
committed
making new release
1 parent 6ee780d commit 0f8f226

File tree

4 files changed

+30
-19
lines changed

4 files changed

+30
-19
lines changed

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres
66
to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## Unreleased
8+
## [0.20.0] - 2023-12-26
99

10+
- Open search window for `cp`, `del`, `view`, and `edit` subcommands if no index given, and added filter options (Issue #[154](https://github.com/out-of-cheese-error/the-way/issues/154))
1011
- Add tag/language tab completion (Issue #[148](https://github.com/out-of-cheese-error/the-way/issues/148))
11-
- Add `the-way tags` and `the-way languages` to list current set of tags and languages and the count of snippets for each (Issue #[148](https://github.com/out-of-cheese-error/the-way/issues/148))
12+
- Add `tags` and `languages` subcommands to list current set of tags and languages and the count of snippets for each (Issue #[148](https://github.com/out-of-cheese-error/the-way/issues/148))
1213

1314
## [0.19.2] - 2023-03-12
1415

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "the-way"
3-
version = "0.19.2"
3+
version = "0.20.0"
44
edition = "2021"
55
authors = ["Ninjani"]
66
description = "A code snippets manager for your terminal"

README.md

Lines changed: 25 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -118,21 +118,24 @@ A code snippets manager for your terminal
118118
Usage: the-way [OPTIONS] <COMMAND>
119119
120120
Commands:
121-
new Add a new code snippet
122-
cmd Add a new shell snippet
123-
search Fuzzy search to find a snippet and copy, edit or delete it
124-
sync Sync snippets to a Gist
125-
list Lists (optionally filtered) snippets
126-
import Imports code snippets from JSON
127-
export Saves (optionally filtered) snippets to JSON
128-
clear Clears all data
129-
complete Generate shell completions
130-
themes Manage syntax highlighting themes
131-
config Manage the-way data locations
132-
edit Change snippet
133-
del Delete snippet
134-
cp Copy snippet to clipboard
135-
view View snippet
121+
new Add a new code snippet
122+
cmd Add a new shell snippet
123+
search Fuzzy search to find a snippet and copy, edit or delete it
124+
sync Sync snippets to a Gist
125+
list Lists (optionally filtered) snippets
126+
import Imports code snippets from JSON
127+
export Saves (optionally filtered) snippets to JSON
128+
clear Clears all data
129+
complete Generate shell completions
130+
themes Manage syntax highlighting themes
131+
config Manage the-way data locations
132+
edit Change snippet
133+
del Delete snippet
134+
cp Copy snippet to clipboard
135+
view View snippet
136+
tags Lists (optionally filtered) tags
137+
languages Lists (optionally filtered) languages
138+
help Print this message or the help of the given subcommand(s)
136139
137140
Options:
138141
-c, --colorize Force colorization even when not in TTY mode
@@ -236,7 +239,14 @@ variable `$THE_WAY_GITHUB_TOKEN`.
236239
You can also import snippets from a Gist created by the-way using `the-way import -w <gist_url>`.
237240

238241
## Shell completions
242+
Generate for your shell of interest and save to the appropriate completions folder
239243

244+
```bash
245+
the-way complete bash > the-way-completion.bash
246+
source the-way-completion.bash
247+
```
248+
249+
E.g for oh-my-zsh
240250
```bash
241251
the-way complete zsh > .oh-my-zsh/completions/_the-way
242252
exec zsh

0 commit comments

Comments
 (0)