[NEW] link-config-files to create dot-file links in $HOME to config/*
This commit is contained in:
parent
2390d7df2b
commit
0dcf3172a6
1 changed files with 9 additions and 0 deletions
9
link-config-files
Executable file
9
link-config-files
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
cd "$HOME"
|
||||
for FILE in config/*; do
|
||||
pushd "$HOME"
|
||||
DOTFILE=".${FILE##*/}"
|
||||
ln -s "$FILE" "$DOTFILE"
|
||||
popd
|
||||
done
|
||||
Loading…
Reference in a new issue