Simplify install script

This commit is contained in:
Mathieu 2011-08-24 00:36:51 +02:00 committed by Mathieu Maret
parent 06cd611090
commit ceb2587638

2
install_config.sh Normal file → Executable file
View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
for i in $(ls -lA| awk '{print $9}'| grep -e "^\."| grep -v "git"|grep -v "swp") for i in $(ls -A| grep -e "^\."| grep -v "git"|grep -v "swp")
do do
echo "ln -s $PWD/$i $HOME/$i" echo "ln -s $PWD/$i $HOME/$i"
done done