aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/tmux_session_fzf4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/tmux_session_fzf b/scripts/tmux_session_fzf
index 140a474..4f5a96e 100755
--- a/scripts/tmux_session_fzf
+++ b/scripts/tmux_session_fzf
@@ -12,9 +12,9 @@ get_active_pane(){
tmux list-windows -t "${SESSION}" | grep '(active)' | cut -c 1
}
-TARGET=$(tmux ls | awk -F':' '{print $1}' | fzf-tmux -h)
+TARGET=$(tmux ls | awk -F':' '{print $1}' | fzf-tmux)
if [[ -n "${TARGET}" ]]; then
WINDOW=$(get_active_pane "${TARGET}")
echo "${TARGET}:${WINDOW}" >> ~/tmux.log
- tmux switch-client -t "${TARGET}:${WINDOW}"
+ tmux switch-client -t "${TARGET}:${WINDOW}"
fi