diff options
author | Toby Vincent <tobyv13@gmail.com> | 2023-06-26 14:37:43 -0500 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2023-06-26 14:38:03 -0500 |
commit | 16a6146742f23ad5bf2cdff1c910b1ac4bba6a30 (patch) | |
tree | 1147a3594364c6318e82cc6a09490eaf22b80e44 | |
parent | 67adb402c414439c7c9037762ee4a758a822a0aa (diff) |
refactor(tmux): rename scripts
-rw-r--r-- | tmux/.config/tmux/tmux.conf | 4 | ||||
-rwxr-xr-x | tmux/.local/bin/tmux-projectr (renamed from tmux/.local/bin/tmux-sessionizer) | 0 | ||||
-rwxr-xr-x | tmux/.local/bin/tmux-sshr (renamed from tmux/.local/bin/tmux-ssh) | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tmux/.config/tmux/tmux.conf b/tmux/.config/tmux/tmux.conf index d35748c..396e23a 100644 --- a/tmux/.config/tmux/tmux.conf +++ b/tmux/.config/tmux/tmux.conf @@ -17,8 +17,8 @@ set -g detach-on-destroy off bind-key -N "Switch last session" A switch-client -l bind-key -N "Clock" T clock-mode -bind-key -N "Host: switch" s run-shell ~/.local/bin/tmux-ssh -bind-key -N "Session: new" f run-shell ~/.local/bin/tmux-sessionizer +bind-key -N "Host: switch" s run-shell ~/.local/bin/tmux-sshr +bind-key -N "Session: new" f run-shell ~/.local/bin/tmux-projectr bind-key -N "Session: switch" F run-shell ~/.local/bin/tmux-sessions bind-key -N "Window: new" t new-window diff --git a/tmux/.local/bin/tmux-sessionizer b/tmux/.local/bin/tmux-projectr index 8dcbabc..8dcbabc 100755 --- a/tmux/.local/bin/tmux-sessionizer +++ b/tmux/.local/bin/tmux-projectr diff --git a/tmux/.local/bin/tmux-ssh b/tmux/.local/bin/tmux-sshr index a0f838b..7120703 100755 --- a/tmux/.local/bin/tmux-ssh +++ b/tmux/.local/bin/tmux-sshr @@ -3,7 +3,7 @@ HOST=$(tmux display -p '#h' 2>/dev/null) if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then - tmux -L ssh run-shell "tmux-ssh" + tmux -L ssh run-shell "tmux-sshr" exit 0 fi |