Compare commits

..

No commits in common. "390950a7e6efc36dfb8a4eb335f3822e0a2178d3" and "41a64f039f8112f5b80a7e66bbecf2634d914846" have entirely different histories.

View file

@ -7,18 +7,12 @@ 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 workflows, the `attach`, `detach`, `has`, and To further simplify developer usage, the `attach`, `detach`, `has`, and `new`
`new` commands will default to the name of the root directory if used inside commands can be used without a target field, and will default to the name of
a Git repository. the Git repository root directory, if one is found.
## Goals In their shortest forms, *every* ReMux command is as short or
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
@ -49,14 +43,8 @@ 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).
@ -67,43 +55,34 @@ 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>
Copy the compiled binary from the [releases page](https://git.vwolfe.io/valerie/remux/releases) to a directory in <code>$PATH</code>, such as <code>/usr/bin/</code>.
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
Compile using cargo with the command `cargo build --release` and copy the file the file from <code>target/release/</code> to a directory in <code>$PATH</code>,
from `target/release/` to a directory in `$PATH`, such as `/usr/bin/`. such as <code>/usr/bin/</code>.
</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
Clone the [AUR Repository](https://aur.archlinux.org/remux.git) and run the run the command <code>makepkg --install</code>.
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>
Install the package from the [`remux` AUR Package](https://aur.archlinux.org/packages/remux) using an AUR package manager such as <a href="https://github.com/Morganamilo/paru"><code>paru</code></a>.
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