mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-03 05:32:08 -07:00
@@ -1,6 +1,11 @@
|
|||||||
CHANGELOG
|
CHANGELOG
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
0.12.3
|
||||||
|
------
|
||||||
|
- `{}` in execute action is replaced to the single-quoted string of the
|
||||||
|
current line
|
||||||
|
|
||||||
0.12.2
|
0.12.2
|
||||||
------
|
------
|
||||||
|
|
||||||
|
@@ -743,7 +743,7 @@ func keyMatch(key int, event C.Event) bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func quoteEntry(entry string) string {
|
func quoteEntry(entry string) string {
|
||||||
return fmt.Sprintf("%q", entry)
|
return "'" + strings.Replace(entry, "'", "'\\''", -1) + "'"
|
||||||
}
|
}
|
||||||
|
|
||||||
func executeCommand(template string, replacement string) {
|
func executeCommand(template string, replacement string) {
|
||||||
|
Reference in New Issue
Block a user