Skip to content

Commit aab053a

Browse files
authored
Update ubuntu-node-dev.sh
1 parent c3c75fe commit aab053a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ubuntu/ubuntu-node-dev.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,5 @@ sudo touch /etc/profile.d/gitRemoteChanger.sh && \
5757
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 && \
5858
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 && \
5959
source /etc/profile.d/gitRemoteChanger.sh
60+
61+
echo "All done, please restart / open a new zsh shell to ensure everything is loaded correctly"

0 commit comments

Comments
 (0)