]> git.huck.website - zshmux.git/commitdiff
Vim quick push
authorHuck Boles <huboles@protonmail.com>
Sun, 25 Sep 2022 01:09:52 +0000 (20:09 -0500)
committerHuck Boles <huboles@protonmail.com>
Sun, 25 Sep 2022 01:09:52 +0000 (20:09 -0500)
zshmux.zsh

index 68b14d3797cc71b8f804b56eb487d1777b184e75..59bc47a50f2fdb2252c340601cdc95c1fa899665 100644 (file)
@@ -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