mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-26 14:56:30 +00:00
Quote $1 in vimf example (#26)
This commit is contained in:
parent
737423995d
commit
0a8352a5cd
@ -134,7 +134,7 @@ Useful examples
|
|||||||
# vimf - Open selected file in Vim
|
# vimf - Open selected file in Vim
|
||||||
vimf() {
|
vimf() {
|
||||||
local file
|
local file
|
||||||
file=$(fzf --query=$1) && vim "$file"
|
file=$(fzf --query="$1") && vim "$file"
|
||||||
}
|
}
|
||||||
|
|
||||||
# fd - cd to selected directory
|
# fd - cd to selected directory
|
||||||
|
Loading…
Reference in New Issue
Block a user