Skip to content

Commit

Permalink
Revert "Try script again"
Browse files Browse the repository at this point in the history
This reverts commit 2750f51.
  • Loading branch information
jasonmorganson committed Oct 27, 2024
1 parent 2750f51 commit a945e27
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ fi
# POSIX way to get script's dir: https://stackoverflow.com/a/29834779/12156188
script_dir="$(cd -P -- "$(dirname -- "$(command -v -- "$0")")" && pwd -P)"

set -- init --apply --source="${script_dir}"

echo "Running 'chezmoi $*'" >&2
# exec: replace current process with chezmoi
exec script -q -c "$chezmoi init --apply --source=\"${script_dir}\""
exec "$chezmoi" "$@"

0 comments on commit a945e27

Please sign in to comment.