Symlink config in home directory too

master
Quentin Duchemin 2019-01-26 19:24:25 +01:00
parent f968e3dd6b
commit 69647d0238
Signed by: Chosto
GPG Key ID: 0547178FEEDE7D6B
1 changed files with 5 additions and 0 deletions

View File

@ -20,4 +20,9 @@ fi
for f in `find ~/.config -type f -name "*.${1}"`; do for f in `find ~/.config -type f -name "*.${1}"`; do
echo "Symlinking to ${f}..." echo "Symlinking to ${f}..."
ln -sf ${f} ${f%.*} ln -sf ${f} ${f%.*}
done
for f in `find ~ -maxdepth 1 -mindepth 1 -type f -name "*.${1}"`; do
echo "Symlinking to ${f}..."
ln -sf ${f} ${f%.*}
done done