Skip to content

Commit

Permalink
chore: Updated repository URL to use HTTPS and modified clone command
Browse files Browse the repository at this point in the history
  • Loading branch information
mk-nascimento authored Jan 31, 2024
1 parent d13b69c commit dbac1ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fi
# Check if the custom-aliases folder already exists at the desired location
custom-aliases_install() {
# URL of the custom-aliases repository on GitHub
local repo_url="git@github.com:mk-nascimento/custom-aliases.git"
local repo_url="https://github.com/mk-nascimento/custom-aliases.git"

# Path to the user's home directory
local home="/home/$USER"
Expand All @@ -33,7 +33,7 @@ custom-aliases_install() {
else
# Folder doesn't exist, cloning the repository...
echo -e "custom-aliases not installed. Cloning the repository...\n"
git clone "$repo_url" "$custom_aliases" || {
git clone --single-branch -b main --depth 1 "$repo_url" "$custom_aliases" || {
echo -e "Error: Failed to change directory to '$custom_aliases'\n"
return 1
}
Expand Down

0 comments on commit dbac1ab

Please sign in to comment.