.
This commit is contained in:
commit
4603184052
87 changed files with 3677 additions and 0 deletions
19
clean.sh
Executable file
19
clean.sh
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
set -x
|
||||
|
||||
if ! which lr >/dev/null 2>&1; then
|
||||
>&2 echo "install leah2's lr(1) first"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if test ! -d './files'; then
|
||||
>&2 echo "This script has to be executed from the dotfiles root"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cd files
|
||||
|
||||
files="$(lr -U -t 'path!~".git" && path~~".*" && type=f' |
|
||||
xargs printf '%s/%s\n' "$HOME")"
|
||||
rm -f $files
|
||||
Loading…
Add table
Add a link
Reference in a new issue