Quote $1 in vimf example (#26)

This commit is contained in:
Junegunn Choi 2014-03-19 21:57:03 +09:00
parent 737423995d
commit 0a8352a5cd

View File

@ -134,7 +134,7 @@ Useful examples
# vimf - Open selected file in Vim
vimf() {
local file
file=$(fzf --query=$1) && vim "$file"
file=$(fzf --query="$1") && vim "$file"
}
# fd - cd to selected directory