subicura / mac

A Beginner's Guide to macOS
https://subicura.com/mac
0 stars 1 forks source link

mac/dev/shell #4

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

쉘 프롬프트 설정 | macOS 안내서

쉘을 이쁘게 꾸미는 방법을 알아봅니다.

https://subicura.com/mac/dev/shell.html

namhokim commented 2 years ago

zsh-autosuggestions 플러그인 설치하는 스크립트의 프로토콜이 본문에 git으로 되어 있습니다. zsh-syntax-highlighting 는 https 로 되어 있습니다 :)

git 버전 2.36.0 에서 git 프로토콜로 clone 을 하려고 하니 아래와 같은 에러가 발생하였습니다.

에러 메시지

git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
'/Users/namo/.oh-my-zsh/custom/plugins/zsh-autosuggestions'에 복제합니다...
fatal: 리모트 오류:
  The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.

프로토콜 부분을 https 로 바꾸어서 clone을 해보니 문제 없이 수행되었습니다.

git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
'/Users/namo/.oh-my-zsh/custom/plugins/zsh-autosuggestions'에 복제합니다...
remote: Enumerating objects: 2435, done.
remote: Counting objects: 100% (50/50), done.
remote: Compressing objects: 100% (39/39), done.
remote: Total 2435 (delta 22), reused 29 (delta 10), pack-reused 2385
오브젝트를 받는 중: 100% (2435/2435), 564.00 KiB | 977.00 KiB/s, 완료.
델타를 알아내는 중: 100% (1553/1553), 완료.

혹시나 동일한 이슈를 겪고 있는 분들도 있을 것 같아서 리포팅 드립니다.

kyungjunleeme commented 1 year ago

https://github.com/zsh-users/zsh-autosuggestions/issues/416

zsh-autosuggestions 이 기능이 제대로 작동하지 않을 경우 -> 해당 글에 따라 다시 한 번 로드 해주면 됩니다.