From b2dc1919a2176c133943ad3dd1158b27451b6d48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20N=C3=A4sman?= Date: Tue, 12 Sep 2023 16:17:44 +0300 Subject: [PATCH] Improve setup scripts --- setup/init.sh | 2 +- setup/validate.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/setup/init.sh b/setup/init.sh index 750455f8..d964ba0f 100755 --- a/setup/init.sh +++ b/setup/init.sh @@ -1,5 +1,5 @@ #!/usr/bin/env fish # https://trello.com/c/46kxNqE9 -cd ../brew/ +cd (path resolve (status dirname)/../brew/) brew bundle dump --force diff --git a/setup/validate.sh b/setup/validate.sh index 5a708768..76d17ceb 100755 --- a/setup/validate.sh +++ b/setup/validate.sh @@ -1,5 +1,5 @@ #!/usr/bin/env fish # https://trello.com/c/QfYFXbJ7 -cp /usr/local/opt/yabai/share/yabai/examples/yabairc ../yabai/ -cp /usr/local/opt/yabai/share/yabai/examples/skhdrc ../skhd/ +cp /usr/local/opt/yabai/share/yabai/examples/yabairc (path resolve (status dirname)/../yabai/) +cp /usr/local/opt/yabai/share/yabai/examples/skhdrc (path resolve (status dirname)/../skhd/)