m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-19 00:53:42 -05:00

Updated Examples (markdown)

Matthew Bennett
2020-10-18 20:09:10 +02:00
parent ed9016ae13
commit 7ceeee8d0d

@@ -175,7 +175,7 @@ f() {
# Put all input arguments on one line and sanitise the command such that
# spaces and parentheses are properly escaped. More sanitisation
# substitutions can be added if needed
sed -i 's/\n//g; s/ /\\ /g; ${s/(/\\(/}; ${s/)/\\)/}' ~/.fzf_tmp
sed -i 's/\n//g; s/ /\\ /g; s/(/\\(/; s/)/\\)/' ~/.fzf_tmp
# If the program is on the GUI list add a '&' to the command history
if [[ $1 =~ ^(zathura|vlc|eog|kolourpaint)$ ]]; then