improving installation
This commit is contained in:
parent
de01771fb3
commit
d1e9d852b0
1 changed files with 4 additions and 8 deletions
|
@ -1,11 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
find -mindepth 1 -maxdepth 1 -type d | while read dir; do
|
||||
fmtdir="$(sed -e s/\\.\\///g <<<$dir)"
|
||||
if [ $(echo $fmtdir) != ".git" ]; then
|
||||
stow -t "$HOME" "$fmtdir"
|
||||
echo "installed $fmtdir configuration"
|
||||
else
|
||||
echo "ommiting $fmtdir directory"
|
||||
fi
|
||||
find -mindepth 1 -maxdepth 1 -type d -not -path '*/\.*' | while read dir; do
|
||||
fmtdir="$(sed s/\\.\\///g <<<$dir)"
|
||||
stow -t "$HOME" "$fmtdir"
|
||||
echo "installed $fmtdir configuration"
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue