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:
parent
643be71a12
commit
33eade4f00
1 changed files with 1 additions and 0 deletions
1
install
1
install
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue