1
0
Fork 0
mirror of https://github.com/kou029w/dotfiles.git synced 2025-01-18 16:07:59 +00:00

create install script

This commit is contained in:
Nebel 2021-08-14 18:01:30 +09:00
parent 89e67bf38f
commit 9e9d2cc19a
2 changed files with 16 additions and 3 deletions

View file

@ -1,4 +1,5 @@
> 膨大な知識の電波は すべてを知ってるわけじゃないから\
> 新しいことまだ見つけられる 宇宙の果てに広がってゆける
# Dotfiles
MOSAIC.WAV「電気の恋人」
```sh
install
```

12
install Executable file
View file

@ -0,0 +1,12 @@
#!/bin/bash
set -euo pipefail
for dotfile in .*; do
[[ $dotfile =~ ^(\.\.?|\.git)$ ]] && continue
dotfile=$(realpath "$dotfile")
(
cd
ln -svf "$dotfile"
)
done