Skip to content

Commit

Permalink
Quote $1 in vimf example (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
junegunn committed Mar 19, 2014
1 parent 7374239 commit 0a8352a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0a8352a

Please sign in to comment.