From 6c650d3a5adf068c6f70bf06efcefde4bba5bfba Mon Sep 17 00:00:00 2001 From: Huck Boles <80217378+huboles@users.noreply.github.com> Date: Mon, 3 Oct 2022 19:17:37 -0500 Subject: [PATCH] Update README.md --- README.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d50c432..2680908 100644 --- a/README.md +++ b/README.md @@ -5,11 +5,17 @@ If you are not already in a tmux session *zshmux* will list all currently active If there is only one tmux session running and not attached to any clients, *zshmux* just automatically attach the session to the current shell. -## How to use: --Clone this repository: `git clone https://github.com/huboles/zshmux` +## How to get *zshmux* --Source *zshmux* in your .zshrc: `[[ -e /zshmux/zshmux.zsh ]] && . /zshmux/zshmux.zsh` +-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: + - Clone this repository: `git clone https://github.com/huboles/zshmux` + - Add: `[[ -d /zshmux ]] && source /zshmux/zshmux.zsh` to your .zshrc + -Open a new shell -![zshmux](https://user-images.githubusercontent.com/80217378/192125380-151a4b09-f2ef-4fac-ae34-743cadcc1709.gif) + +![zshmux](https://user-images.githubusercontent.com/80217378/193707327-9d0b533e-d3e2-4c06-b2b7-4ea1ffcd5f07.gif) -- 2.45.2