Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -euo pipefail
repo_url="https://github.com/MatthewDolan/dotfiles.git"

# Determine where this script lives on disk
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
script_dir="$(cd "$(dirname "$0")" && pwd)"

# If the script isn't part of a git repository, clone and re-run from ~/.dotfiles
if ! git -C "${script_dir}" rev-parse --is-inside-work-tree >/dev/null 2>&1; then
Expand Down