From 2df4c5b9ab3350f958a00bc6b9b8eff55462f3b0 Mon Sep 17 00:00:00 2001 From: PunGrumpy <108584943+PunGrumpy@users.noreply.github.com> Date: Mon, 5 Aug 2024 20:54:34 +0700 Subject: [PATCH] fix(tmux): cannot open a path including whitespaces --- .config/tmux/tmux.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 5a2b690..7181638 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -16,7 +16,7 @@ set-window-option -g mode-keys vi # Reload settings bind r source-file ~/.config/tmux/tmux.conf \; display "Reloaded!" # Open current directory -bind o run-shell "open #{pane_current_path}" +bind o run-shell "open '#{pane_current_path}'" bind -r e kill-pane -a # vim-like pane switching @@ -85,4 +85,4 @@ set -g set-titles-string "#T" if-shell "uname -s | grep -q Darwin" "source ~/.config/tmux/macos.conf" source ~/.config/tmux/statusline.conf -source ~/.config/tmux/utility.conf \ No newline at end of file +source ~/.config/tmux/utility.conf