Zsh : amélioration find_php si espace dans les noms des fichiers

master
Julien Rosset 7 years ago
parent dd28c4ff34
commit cd1039b0d9

@ -81,7 +81,7 @@ find_php() {
if [ -z $arg_options ]; then if [ -z $arg_options ]; then
arg_options="-n" arg_options="-n"
fi 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 #alias cclive='cclive -c' # Continue automatiquement les DL

Loading…
Cancel
Save