mirror of
https://github.com/bartvdbraak/dotfiles.git
synced 2025-07-14 12:09:10 +00:00
Add subdirectories for macbook
and tongfang
with config (#4)
This commit is contained in:
parent
b743abcde5
commit
10a876fcc4
15 changed files with 117 additions and 0 deletions
9
tongfang/symlink.sh
Executable file
9
tongfang/symlink.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if cp --version &>/dev/null; then
|
||||
dotfiles_home="${1:-$(dirname "$(realpath "$0")")}"
|
||||
cp -rsf "$dotfiles_home"/. $HOME
|
||||
echo "dotfiles symlinks recursively copied from $dotfiles_home to $HOME."
|
||||
else
|
||||
echo "GNU cp required."
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue