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

set work dir

This commit is contained in:
Nebel 2022-04-22 19:47:02 +09:00
parent 643be71a12
commit 33eade4f00

View file

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