Skip to content

Commit

Permalink
fix: branch name argument (zap-zsh#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
wintermi authored and 5c077m4n committed May 16, 2023
1 parent eafd716 commit 8947713
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ main() {
}

# Clone the Zap Repository branch
git clone -b "$BRANCH" https://github.com/zap-zsh/zap.git "$ZAP_DIR" &> /dev/null || { echo "❌ Failed to install Zap" && return 2 }
git clone -b "$BRANCH[-1]" https://github.com/zap-zsh/zap.git "$ZAP_DIR" &> /dev/null || { echo "❌ Failed to install Zap" && return 2 }

# Only modify .zshrc file if --keep flag not set
if [[ -z "$KEEP" ]]; then
Expand Down

0 comments on commit 8947713

Please sign in to comment.