Add create_symlinks.sh
This commit is contained in:
parent
50b9b03d89
commit
9fe665bd49
1 changed files with 13 additions and 0 deletions
13
create_symlinks.sh
Executable file
13
create_symlinks.sh
Executable file
|
@ -0,0 +1,13 @@
|
||||||
|
#!/bin/sh
|
||||||
|
rel_dir="${PWD#$HOME/}"
|
||||||
|
echo "Configs relative to home in $rel_dir."
|
||||||
|
|
||||||
|
for i in *; do
|
||||||
|
case $i in
|
||||||
|
README | create_symlinks.sh | eu_US.keylayout | *~)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
ln -s $rel_dir/$i $HOME/.$i
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
Loading…
Add table
Add a link
Reference in a new issue