From c3cf8ab927b1d18bc9eda6b43f187642e373c235 Mon Sep 17 00:00:00 2001 From: Huck Boles Date: Sat, 24 Sep 2022 20:09:52 -0500 Subject: [PATCH] Vim quick push --- zshmux.zsh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zshmux.zsh b/zshmux.zsh index 68b14d3..59bc47a 100644 --- a/zshmux.zsh +++ b/zshmux.zsh @@ -2,12 +2,12 @@ if [[ -z $TMUX ]]; then if tmux list-sessions &> /dev/null ; then - printf 'Current tmux sessions:\n' + printf '\033[32;1mCurrent \033[33;1mtmux \033[32;1msessions\033[0m:\n' tmux list-sessions -F"#S - (#{?session_attached,Attached,Not Attached})" else - printf '\nNo tmux sessions active\n' + printf '\n\033[34;1mNo \033[33;1mtmux \033[34;1msessions active\n' fi - printf 'Attach session?: [name] (empty if none): ' + printf '\033[34;1mAttach session?\033[0;m: [\033[35;1mname\033[0m] \033[37;2m(empty if none)\033[0m: ' read response if [ -n "$response" ]; then if tmux list-sessions | grep -q "$response"; then -- 2.44.2