From cd1039b0d98424fe16184a72e4be66a58af6e681 Mon Sep 17 00:00:00 2001 From: darkelfe14728 Date: Thu, 24 Jan 2019 10:39:45 +0100 Subject: [PATCH] =?UTF-8?q?Zsh=20:=20am=C3=A9lioration=20find=5Fphp=20si?= =?UTF-8?q?=20espace=20dans=20les=20noms=20des=20fichiers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zsh/zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/zshrc b/zsh/zshrc index 93f3e98..8748245 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -81,7 +81,7 @@ find_php() { if [ -z $arg_options ]; then arg_options="-n" fi - find $arg_path -type f -iname "*.php" | xargs grep $arg_options $1 + find $arg_path -type f -iname "*.php" -print0 | xargs --null grep $arg_options $1 } #alias cclive='cclive -c' # Continue automatiquement les DL