Skip to content

Commit c3c75fe

Browse files
authored
Update arch-node-dev.sh
1 parent 86c99cc commit c3c75fe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/arch-node-dev.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,5 @@ sudo touch /etc/profile.d/gitRemoteChanger.sh && \
5656
echo alias git-ssh=\'git remote set-url origin \"\$\(git remote get-url origin \| sed -E \'\\\'\'s,\^https://\(\[\^/\]\*\)/\(.\*\)\$,git@\\1:\\2,\'\\\'\'\)\"\' | sudo tee -a /etc/profile.d/gitRemoteChanger.sh && \
5757
echo alias git-https=\'git remote set-url origin \"\$\(git remote get-url origin \| sed -E \'\\\'\'s,\^git@\(\[\^:\]\*\):/\*\(.\*\)\$,https://\\1/\\2,\'\\\'\'\)\"\' | sudo tee -a /etc/profile.d/gitRemoteChanger.sh && \
5858
source /etc/profile.d/gitRemoteChanger.sh
59+
60+
echo "All done, please restart / open a new zsh shell to ensure everything is loaded correctly"

0 commit comments

Comments
 (0)