mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-19 09:03:43 -05:00
Updated Examples (markdown)
@@ -175,7 +175,7 @@ f() {
|
|||||||
# Put all input arguments on one line and sanitise the command such that
|
# Put all input arguments on one line and sanitise the command such that
|
||||||
# spaces and parentheses are properly escaped. More sanitisation
|
# spaces and parentheses are properly escaped. More sanitisation
|
||||||
# substitutions can be added if needed
|
# 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 the program is on the GUI list add a '&' to the command history
|
||||||
if [[ $1 =~ ^(zathura|vlc|eog|kolourpaint)$ ]]; then
|
if [[ $1 =~ ^(zathura|vlc|eog|kolourpaint)$ ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user