9 lines
191 B
Bash
9 lines
191 B
Bash
|
#! /bin/sh
|
||
|
|
||
|
(echo -n "((nil . ((company-clang-arguments . ("
|
||
|
for line in `cat - | sed -e 's/\s\+/\n/g' | grep '^-I' | sort | uniq`
|
||
|
do
|
||
|
echo '"'$line'"'
|
||
|
done
|
||
|
echo ")))))") > .dir-locals.el
|