diff --git a/Examples.md b/Examples.md index 9ae747c..2559c33 100644 --- a/Examples.md +++ b/Examples.md @@ -71,7 +71,7 @@ fe() { # - CTRL-E or Enter key to open with the $EDITOR fo() { local out file key - IFS=$'\n' out=($(fzf-tmux --query="$1" --exit-0 --expect=ctrl-o,ctrl-e)) + IFS=$'\n' out=("$(fzf-tmux --query="$1" --exit-0 --expect=ctrl-o,ctrl-e)") key=$(head -1 <<< "$out") file=$(head -2 <<< "$out" | tail -1) if [ -n "$file" ]; then