Skip to content

Commit

Permalink
fix: branch name argument (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
wintermi authored May 15, 2023
1 parent aad7594 commit 1d25a38
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 1d25a38

Please sign in to comment.