Compare commits

...

2 commits

Author SHA1 Message Date
390950a7e6 updated README 2024-03-08 10:19:23 -05:00
7ef44e9931 updated README 2024-03-08 10:18:14 -05:00

View file

@ -7,12 +7,18 @@ A tmux wrapper and command shortener written in Rust. ReMux's
goal is to wrap tmux commands to be both shorter, and oriented goal is to wrap tmux commands to be both shorter, and oriented
around session names instead of session IDs. around session names instead of session IDs.
To further simplify developer usage, the `attach`, `detach`, `has`, and `new` To further simplify developer workflows, the `attach`, `detach`, `has`, and
commands can be used without a target field, and will default to the name of `new` commands will default to the name of the root directory if used inside
the Git repository root directory, if one is found. a Git repository.
In their shortest forms, *every* ReMux command is as short or ## Goals
shorter than its equivalent tmux command:
- Accelerating: Makes simple tmux workflows faster.
- Friendly: Easy to start using.
- Short: Every ReMux command is as short or shorter than its raw tmux equivalent.
<details>
<summary><h2>Examples</h2></summary>
```sh ```sh
@ -43,8 +49,14 @@ remux a -n foo
TMUX='' tmux new-session -t foo TMUX='' tmux new-session -t foo
remux n -n foo remux n -n foo
# switch
tmux switch-client -t foo
remux s foo
``` ```
</details>
## Dependencies ## Dependencies
ReMux depends on [tmux](https://github.com/tmux/tmux). ReMux depends on [tmux](https://github.com/tmux/tmux).
@ -55,34 +67,43 @@ ReMux depends on [tmux](https://github.com/tmux/tmux).
<details> <details>
<summary>Release Binary</summary> <summary>Release Binary</summary>
Copy the compiled binary from the <a href="https://git.vwolfe.io/valerie/remux/releases">releases page</a>
to a directory in <code>$PATH</code>, such as <code>/usr/bin/</code>. Copy the compiled binary from the [releases page](https://git.vwolfe.io/valerie/remux/releases)
to a directory in `$PATH`, such as `/usr/bin/`.
</details> </details>
<details> <details>
<summary>Compile from Source</summary> <summary>Compile from Source</summary>
Compile using cargo with the command <code>cargo build --release</code> and copy
the file from <code>target/release/</code> to a directory in <code>$PATH</code>, Compile using cargo with the command `cargo build --release` and copy the file
such as <code>/usr/bin/</code>. from `target/release/` to a directory in `$PATH`, such as `/usr/bin/`.
</details> </details>
<details> <details>
<summary>makepkg (AUR)</summary> <summary>makepkg (AUR)</summary>
Clone the <a href="https://aur.archlinux.org/remux.git">AUR Repository</a> and
run the command <code>makepkg --install</code>. Clone the [AUR Repository](https://aur.archlinux.org/remux.git) and run the
command `makepkg --install`.
</details> </details>
### Package Managers ### Package Managers
<details> <details>
<summary>Arch Linux (AUR): <code>remux</code></summary> <summary>Arch Linux (AUR): <code>remux</code></summary>
Install the package from the <a href="https://aur.archlinux.org/packages/remux"><code>remux</code> AUR Package</a>
using an AUR package manager such as <a href="https://github.com/Morganamilo/paru"><code>paru</code></a>. Install the package from the [`remux` AUR Package](https://aur.archlinux.org/packages/remux)
using an AUR package manager such as [`paru`](https://github.com/Morganamilo/paru").
</details> </details>
<details> <details>
<summary>Cargo: <code>tmux-remux</code></summary> <summary>Cargo: <code>tmux-remux</code></summary>
Install the package using Cargo with the command <code>cargo install tmux-remux</code>.
Install the package using Cargo with the command `cargo install tmux-remux`.
</details> </details>
## Configuration ## Configuration