Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/MrPicklePinosaur/shrs
Browse files Browse the repository at this point in the history
  • Loading branch information
nithinmuthukumar committed Apr 16, 2024
2 parents 713d32d + 2d04b74 commit e2f8398
Show file tree
Hide file tree
Showing 37 changed files with 73 additions and 76 deletions.
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,10 @@ If you encounter and bugs are have any feature requests, please don't hesitate t

## COMMUNITY PLUGINS

List of cool 3rd part plugins (create a PR to add yours to this list):

List of cool 3rd part plugins and community built shells can be found in [awesome_shrs](https://github.com/MrPicklePinosaur/awesome_shrs). Some notable examples includes
- [shrs_insulter](https://github.com/nithinmuthukumar/shrs_insulter): port of [bash insulter](https://github.com/hkbakke/bash-insulter)
- [shrs_reedline](https://github.com/MrPicklePinosaur/shrs_reedline): adapter layer to use [reedline](https://github.com/nushell/reedline) instead of shrs line

## COMMUNITY SHELLS

Full shells that were built with shrs
- [shrs_openai](https://github.com/MrPicklePinosaur/shrs_openai): chatgpt for your shell
- [shrs_presence](https://github.com/nithinmuthukumar/shrs_presence): show shrs on discord presence
- [shrs_sound](https://github.com/nithinmuthukumar/shrs_sound): play sounds in your shell

- [pinosh](https://github.com/MrPicklePinosaur/pinosh): MrPicklePinosaur's build of shrs

10 changes: 5 additions & 5 deletions crates/shrs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shrs"
version = "0.0.4"
version = "0.0.5"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = ["MrPicklePinosaur"]
Expand Down Expand Up @@ -31,10 +31,10 @@ anyhow = "1"
lazy_static = "1.4"
log = "0.4"

shrs_core = { path = "../shrs_core", version = "^0.0.4" }
shrs_lang = { path = "../shrs_lang", version = "^0.0.4" }
shrs_job = { path = "../shrs_job", version = "^0.0.4" }
shrs_utils = { path = "../shrs_utils", version = "^0.0.4" }
shrs_core = { path = "../shrs_core", version = "^0.0.5" }
shrs_lang = { path = "../shrs_lang", version = "^0.0.5" }
shrs_job = { path = "../shrs_job", version = "^0.0.5" }
shrs_utils = { path = "../shrs_utils", version = "^0.0.5" }

serde = { version = "1", features = ["derive"], optional = true }

Expand Down
2 changes: 1 addition & 1 deletion crates/shrs/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![doc(html_root_url = "https://docs.rs/shrs/0.0.4")]
#![doc(html_root_url = "https://docs.rs/shrs/0.0.5")]

//! **shrs** is a framework for building and configuring your own shell in rust.
//!
Expand Down
10 changes: 5 additions & 5 deletions crates/shrs_core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shrs_core"
version = "0.0.4"
version = "0.0.5"
description = "modular library to build your own shell in rust"

authors.workspace = true
Expand Down Expand Up @@ -29,10 +29,10 @@ skim = "0.10.4"
glob = "0.3.1"


shrs_job = { path = "../shrs_job", version = "^0.0.4" }
shrs_utils = { path = "../shrs_utils", version = "^0.0.4" }
shrs_lang = { path = "../shrs_lang", version = "^0.0.4" }
shrs_vi = { path = "../shrs_vi", version = "^0.0.4" }
shrs_job = { path = "../shrs_job", version = "^0.0.5" }
shrs_utils = { path = "../shrs_utils", version = "^0.0.5" }
shrs_lang = { path = "../shrs_lang", version = "^0.0.5" }
shrs_vi = { path = "../shrs_vi", version = "^0.0.5" }



Expand Down
2 changes: 1 addition & 1 deletion crates/shrs_job/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shrs_job"
version = "0.0.4"
version = "0.0.5"
description = "utilities for managing jobs and processes"

authors.workspace = true
Expand Down
4 changes: 2 additions & 2 deletions crates/shrs_lang/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shrs_lang"
version = "0.0.4"
version = "0.0.5"
description = "parser and lexer for shrs posix shell"
build = "build.rs"

Expand All @@ -13,7 +13,7 @@ license.workspace = true
repository.workspace = true

[dependencies]
shrs_job = { path = "../shrs_job", version = "^0.0.4" }
shrs_job = { path = "../shrs_job", version = "^0.0.5" }
lalrpop-util = { version = "0.19.8", features = ["lexer"] }
regex = "1"
nix = { version = "0.26", default-features = false, features = ["fs", "term", "process", "signal"]}
Expand Down
2 changes: 1 addition & 1 deletion crates/shrs_utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shrs_utils"
version = "0.0.4"
version = "0.0.5"
description = "utilities for shrs"

authors.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/shrs_utils/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

<div align="center">

# shrs_line
# shrs_utils

variety of utilities

Expand Down
2 changes: 1 addition & 1 deletion crates/shrs_vi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shrs_vi"
version = "0.0.4"
version = "0.0.5"
description = "parser for vi like commands"
build = "build.rs"

Expand Down
2 changes: 1 addition & 1 deletion crates/shrs_vi/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

<div align="center">

# shrs_line
# shrs_vi

parser for vi grammar

Expand Down
3 changes: 2 additions & 1 deletion dev/scripts/publish
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ crates=(
shrs_utils
shrs_core
shrs_lang
shrs_line
shrs_vi
shrs
)
Expand All @@ -18,9 +17,11 @@ plugins=(
shrs_completion
shrs_derive_completion
shrs_file_logger
shrs_manpages
shrs_mux
shrs_output_capture
shrs_rhai
shrs_rhai_completion
shrs_run_context
)

Expand Down
2 changes: 1 addition & 1 deletion docs/content/docs/getting-started/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ cd <project-name>
Next, add shrs as a dependency in your `Cargo.toml`. shrs is still currently in pre-release, so there will be frequent updates. You can use the most recently published version with:

```toml
shrs = { version = "0.0.4" }
shrs = { version = "0.0.5" }
```

Otherwise, if you wish to be on the bleeding edge, you can depend directly on the master branch (beware that there may be unexpected bugs and breaking API changes on master):
Expand Down
2 changes: 1 addition & 1 deletion plugins/shrs_analytics/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ readme = "README.md"
repository = "https://github.com/MrPicklePinosaur/shrs"

[dependencies]
shrs = { path = "../../crates/shrs", version = "0.0.4" }
shrs = { path = "../../crates/shrs", version = "0.0.5" }
4 changes: 2 additions & 2 deletions plugins/shrs_autocd/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shrs_autocd"
version = "0.0.4"
version = "0.0.5"
description = "implement autocd feature present in many shells"
readme = "README.md"

Expand All @@ -13,4 +13,4 @@ license.workspace = true
repository.workspace = true

[dependencies]
shrs = { path = "../../crates/shrs", version = "^0.0.4" }
shrs = { path = "../../crates/shrs", version = "^0.0.5" }
2 changes: 1 addition & 1 deletion plugins/shrs_autocd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This is a plugin for [shrs](https://github.com/MrPicklePinosaur/shrs).

First add this plugin to your dependencies
```toml
shrs_autocd = { version = "0.0.4" }
shrs_autocd = { version = "0.0.5" }
```

Then include this plugin when initializing shrs
Expand Down
4 changes: 2 additions & 2 deletions plugins/shrs_cd_stack/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shrs_cd_stack"
version = "0.0.4"
version = "0.0.5"
description = "maintain stack of past working directories"
readme = "README.md"

Expand All @@ -13,4 +13,4 @@ license.workspace = true
repository.workspace = true

[dependencies]
shrs = { path = "../../crates/shrs", version = "^0.0.4" }
shrs = { path = "../../crates/shrs", version = "^0.0.5" }
2 changes: 1 addition & 1 deletion plugins/shrs_cd_stack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This is a plugin for [shrs](https://github.com/MrPicklePinosaur/shrs).

First add this plugin to your dependencies
```toml
shrs_cd_stack = { version = "0.0.4" }
shrs_cd_stack = { version = "0.0.5" }
```

Then include this plugin when initializing shrs
Expand Down
4 changes: 2 additions & 2 deletions plugins/shrs_cd_tools/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shrs_cd_tools"
version = "0.0.4"
version = "0.0.5"
description = "Variety of utilities for running commands conditionally on directory change"

authors.workspace = true
Expand All @@ -12,7 +12,7 @@ license.workspace = true
repository.workspace = true

[dependencies]
shrs = { path = "../../crates/shrs", version = "^0.0.4" }
shrs = { path = "../../crates/shrs", version = "^0.0.5" }

derive_builder = "0.12"
anymap = "0.12"
Expand Down
4 changes: 2 additions & 2 deletions plugins/shrs_command_timer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shrs_command_timer"
version = "0.0.4"
version = "0.0.5"
description = "shrs plugin to time how long the previous command took to run"
readme = "README.md"

Expand All @@ -13,4 +13,4 @@ license.workspace = true
repository.workspace = true

[dependencies]
shrs = { path = "../../crates/shrs", version = "^0.0.4" }
shrs = { path = "../../crates/shrs", version = "^0.0.5" }
2 changes: 1 addition & 1 deletion plugins/shrs_command_timer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This is a plugin for [shrs](https://github.com/MrPicklePinosaur/shrs).

First add this plugin to your dependencies
```toml
shrs_command_timer = { version = "0.0.4" }
shrs_command_timer = { version = "0.0.5" }
```

Then include this plugin when initializing shrs
Expand Down
4 changes: 2 additions & 2 deletions plugins/shrs_completion/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shrs_completion"
version = "0.0.4"
version = "0.0.5"
description = "More completions for shrs"

authors.workspace = true
Expand All @@ -12,7 +12,7 @@ license.workspace = true
repository.workspace = true

[dependencies]
shrs = { path = "../../crates/shrs", version = "^0.0.4" }
shrs = { path = "../../crates/shrs", version = "^0.0.5" }

ssh2-config = { version = "0.2.3" }
dirs = { version = "5.0" }
Expand Down
2 changes: 1 addition & 1 deletion plugins/shrs_completion/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This is a plugin for [shrs](https://github.com/MrPicklePinosaur/shrs).

First add this plugin to your dependencies
```toml
shrs_completion = { version = "0.0.4" }
shrs_completion = { version = "0.0.5" }
```

Then include this plugin when initializing shrs
Expand Down
4 changes: 2 additions & 2 deletions plugins/shrs_derive_completion/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shrs_derive_completion"
version = "0.0.4"
version = "0.0.5"
description = "Specify shell completions from derive macro"

authors.workspace = true
Expand All @@ -19,7 +19,7 @@ name = "tests"
path = "tests/test.rs"

[dependencies]
shrs = { path = "../../crates/shrs", version = "^0.0.4" }
shrs = { path = "../../crates/shrs", version = "^0.0.5" }

derive_builder = "0.12"

Expand Down
4 changes: 2 additions & 2 deletions plugins/shrs_file_logger/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shrs_file_logger"
version = "0.0.4"
version = "0.0.5"
description = "dump logs to a file"
readme = "README.md"

Expand All @@ -13,7 +13,7 @@ license.workspace = true
repository.workspace = true

[dependencies]
shrs = { path = "../../crates/shrs", version = "^0.0.4" }
shrs = { path = "../../crates/shrs", version = "^0.0.5" }

log4rs = { version = "1.2" }
log = { version = "0.4" }
2 changes: 1 addition & 1 deletion plugins/shrs_file_logger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This is a plugin for [shrs](https://github.com/MrPicklePinosaur/shrs).

First add this plugin to your dependencies
```toml
shrs_file_logger = { version = "0.0.4" }
shrs_file_logger = { version = "0.0.5" }
```

Then include this plugin when initializing shrs
Expand Down
4 changes: 2 additions & 2 deletions plugins/shrs_manpages/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shrs_manpages"
version = "0.0.4"
version = "0.0.5"
description = "keybinding to open man page currently typed command"
readme = "README.md"

Expand All @@ -13,4 +13,4 @@ license.workspace = true
repository.workspace = true

[dependencies]
shrs = { path = "../../crates/shrs", version = "^0.0.4" }
shrs = { path = "../../crates/shrs", version = "^0.0.5" }
2 changes: 1 addition & 1 deletion plugins/shrs_manpages/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This is a plugin for [shrs](https://github.com/MrPicklePinosaur/shrs).

First add this plugin to your dependencies
```toml
shrs_manpages = { version = "0.0.4" }
shrs_manpages = { version = "0.0.5" }
```

Register your own keybinding with the manpage handler
Expand Down
4 changes: 2 additions & 2 deletions plugins/shrs_mux/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shrs_mux"
version = "0.0.4"
version = "0.0.5"
description = "shell language multiplexer"
readme = "README.md"

Expand All @@ -13,7 +13,7 @@ license.workspace = true
repository.workspace = true

[dependencies]
shrs = { path = "../../crates/shrs", version = "^0.0.4" }
shrs = { path = "../../crates/shrs", version = "^0.0.5" }
clap = { version = "4.1", features = ["derive"] }
tokio = { version = "1.35", features = ["full"] }
openssh = { version = "0.10.3" }
Expand Down
2 changes: 1 addition & 1 deletion plugins/shrs_mux/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This is a plugin for [shrs](https://github.com/MrPicklePinosaur/shrs).

First add this plugin to your dependencies
```toml
shrs_mux = { version = "0.0.4" }
shrs_mux = { version = "0.0.5" }
```

Then include this plugin when initializing shrs
Expand Down
4 changes: 2 additions & 2 deletions plugins/shrs_output_capture/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shrs_output_capture"
version = "0.0.4"
version = "0.0.5"
description = "Capture the previous stdout and stderr output"
readme = "README.md"

Expand All @@ -13,4 +13,4 @@ license.workspace = true
repository.workspace = true

[dependencies]
shrs = { path = "../../crates/shrs", version = "^0.0.4" }
shrs = { path = "../../crates/shrs", version = "^0.0.5" }
2 changes: 1 addition & 1 deletion plugins/shrs_output_capture/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This is a plugin for [shrs](https://github.com/MrPicklePinosaur/shrs).

First add this plugin to your dependencies
```toml
shrs_output_capture = { version = "0.0.4" }
shrs_output_capture = { version = "0.0.5" }
```

Then include this plugin when initializing shrs
Expand Down
Loading

0 comments on commit e2f8398

Please sign in to comment.