Move to gnu stow
This commit is contained in:
parent
cd08a447a8
commit
9ea93f8144
120 changed files with 994 additions and 53 deletions
18
install
Executable file
18
install
Executable file
|
|
@ -0,0 +1,18 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Go to script directory
|
||||
dir="$(dirname "$(readlink -f "$0")")"
|
||||
cd "$dir"
|
||||
|
||||
for package in $(ls $dir); do
|
||||
if [ ! -d "$dir/$package" ]; then
|
||||
continue
|
||||
fi
|
||||
|
||||
if [ "$package" = "misc" ]; then
|
||||
stow --target=$HOME --dotfiles --simulate --no-folding -R $package
|
||||
else
|
||||
stow --target=$HOME --dotfiles --simulate -v -R $package
|
||||
fi
|
||||
done
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue