diff --git a/Examples.md b/Examples.md index b12b254..0bd9848 100644 --- a/Examples.md +++ b/Examples.md @@ -179,7 +179,7 @@ ftpane () { panes=$(tmux list-panes -s -F '#I:#P - #{pane_current_path} #{pane_current_command}') current_window=$(tmux display-message -p '#I') - target=$(echo $panes | fzf) + target=$(echo "$panes" | fzf) || return target_window=$(echo $target | awk 'BEGIN{FS=":|-"} {print$1}') target_pane=$(echo $target | awk 'BEGIN{FS=":|-"} {print$2}' | cut -c 1)