https://github.com/amtoine/zellij-plugin-detach
A plugin to detach a Zellij session
https://github.com/amtoine/zellij-plugin-detach
Last synced: 3 months ago
JSON representation
A plugin to detach a Zellij session
- Host: GitHub
- URL: https://github.com/amtoine/zellij-plugin-detach
- Owner: amtoine
- License: gpl-3.0
- Created: 2023-07-01T09:20:14.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-02T16:08:49.000Z (almost 2 years ago)
- Last Synced: 2025-01-22T17:46:51.356Z (5 months ago)
- Language: Rust
- Size: 16.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zellij-plugin-detach
A plugin to detach a Zellij session## installation
first, you'll need to install the `wasm32-wasi` target to your `rustup` installation
```shell
rustup target add wasm32-wasi
```
once that's done and installed, you can
- build the plugin
```shell
cargo build --target wasm32-wasi
```
- install the plugin from source with
```shell
cargo install --target wasm32-wasi --path .
```## some ideas of usage
in Nushell, we can define
```nushell
def "zellij detach" [] {
if $env.ZELLIJ? != null {
zellij action start-or-reload-plugin $"file:($env.CARGO_HOME | path join "bin" "zellij-plugin-detach.wasm")"
}
}
```