Skip to content

Commit

Permalink
Do not early return when sourcing init
Browse files Browse the repository at this point in the history
  • Loading branch information
evanpurkhiser committed Aug 11, 2023
1 parent e0e339e commit 7cb0e40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ __dots_init() {
mv -f "$cloned_dir" "$install_dir"

# Get out of the empty directory if we were in it
[[ "$(pwd)" == "$cloned_dir" ]] && cd || return
[[ "$(pwd)" == "$cloned_dir" ]] && cd
fi

# 2. Add the bin directory to the front of the path
Expand Down

0 comments on commit 7cb0e40

Please sign in to comment.