summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fzf-completion.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/fzf-completion.bash b/fzf-completion.bash
index ae03bb5e..df9c883d 100644
--- a/fzf-completion.bash
+++ b/fzf-completion.bash
@@ -159,8 +159,8 @@ if [ "$_fzf_completion_loaded" != '0.8.6' ]; then
# Really wish I could use associative array but OSX comes with bash 3.2 :(
eval $(complete | grep '\-F' | grep -v _fzf_ |
grep -E -w "$(echo $d_cmds $f_cmds $a_cmds | sed 's/ /|/g' | sed 's/+/\\+/g')" |
- sed -E 's/.*-F *([^ ]*).* ([^ ]*)$/_fzf_orig_completion_\2=\1/' |
- sed 's/[^a-z0-9_=]/_/g')
+ sed -E 's/.*-F *([^ ]*).* ([^ ]*)$/export _fzf_orig_completion_\2=\1;/' |
+ sed 's/[^a-z0-9_= ;]/_/g')
export _fzf_completion_loaded=0.8.6
fi