l klem module: reference grep directly
This commit is contained in:
parent
a1855823de
commit
60fe1fed15
@ -38,7 +38,7 @@ in {
|
|||||||
# match filetype against patterns
|
# match filetype against patterns
|
||||||
${concatMapStringsSep "\n" (script: ''
|
${concatMapStringsSep "\n" (script: ''
|
||||||
${pkgs.xclip}/bin/xclip -selection clipboard -target TARGETS -out \
|
${pkgs.xclip}/bin/xclip -selection clipboard -target TARGETS -out \
|
||||||
| grep -q '${script.target}'
|
| ${pkgs.gnugrep}/bin/grep -q '${script.target}'
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
labels="$labels:${script.label}"
|
labels="$labels:${script.label}"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user