From: Huck Boles Date: Sun, 1 Jan 2023 06:00:10 +0000 (-0600) Subject: Sun Jan 1 12:00:10 AM CST 2023 automatic backup X-Git-Url: https://git.huck.website/?a=commitdiff_plain;h=edf8d3fe59784cd4423ef870f443eeab78224bef;p=zshmux.git Sun Jan 1 12:00:10 AM CST 2023 automatic backup --- diff --git a/README.md b/README.md index 2680908..c09e8ca 100644 --- a/README.md +++ b/README.md @@ -1,21 +1,22 @@ # zshmux -If a new shell is launched, *zshmux* quickly checks if there are any tmux sessions, or if the current shell is already in a tmux instance. -If you are not already in a tmux session *zshmux* will list all currently active sessions, and ask if you want to attach a currently running session, or make a new session in the shell. -If there is only one tmux session running and not attached to any clients, *zshmux* just automatically attach the session to the current shell. +If a new shell is launched, zshmux quickly checks if there are any tmux sessions, or if the current shell is already in a tmux instance. If you are not already in a tmux session zshmux will list all currently active sessions, and ask if you want to attach a currently running session, or make a new session in the shell. If there is only one tmux session running and not attached to any clients, zshmux will just automatically attach the session to the current shell. +## How to get zshmux -## How to get *zshmux* +If you use Arch Linux, zshmux is available on the AUR --If you use Arch Linux: - - *zshmux* is available on the AUR - - Once you've installed zshmux add `[[ -d /usr/lib/zshmux ]] && source /usr/lib/zshmux/zshmux.zsh` to your .zshrc +Manual installation: + - Download and extract this archive + $ curl "https://download.huck.website/zshmux-[VERSION].tar.gz" + $ tar -xzvf zshmux-[VERSION].tar.gz + - Install: + $ cd zshmux-[VERSION] + # mkdir /usr/lib/zshmux + # cp zshmux.zsh /usr/lib/zshmux --Manual installation: - - Clone this repository: `git clone https://github.com/huboles/zshmux` - - Add: `[[ -d /zshmux ]] && source /zshmux/zshmux.zsh` to your .zshrc +Once you've gotten zshmux, add this snippet to your zshrc: + [[ -d /usr/lib/zshmux ]] && source /usr/lib/zshmux/zshmux.zsh -Open a new shell - -![zshmux](https://user-images.githubusercontent.com/80217378/193707327-9d0b533e-d3e2-4c06-b2b7-4ea1ffcd5f07.gif)