몇 달 전 저는 git bash(Windows용 Git)에 zsh를 설치한 다음 oh-my-zsh와 Windows Terminal을 설치했는데 모든 것이 잘 작동했습니다. 최근 Windows 터미널을 열었을 때, 파악하고 수정할 수 없는 오류가 나타났습니다. 내가 어떻게 고칠 수 있는지 아는 사람 있나요?
Windows 터미널을 여는 동안 오류가 발생했습니다.
(anon):15: can't set tty pgrp: operation not permitted
/c/Users/myUsername/.oh-my-zsh/tools/check_for_upgrade.sh:32: can't set tty pgrp: operation not permitted
/c/Users/myUsername/.oh-my-zsh/oh-my-zsh.sh:67: can't set tty pgrp: operation not permitted
/c/Users/myUsername/.oh-my-zsh/oh-my-zsh.sh:68: can't set tty pgrp: operation not permitted
compinit:539: can't set tty pgrp: operation not permitted
/c/Users/myUsername/.oh-my-zsh/lib/theme-and-appearance.zsh:35: can't set tty pgrp: operation not permitted
/c/Users/myUsername/.oh-my-zsh/lib/theme-and-appearance.zsh:43: can't set tty pgrp: operation not permitted
내 Windows 터미널 구성:
{
"commandline": "%PROGRAMFILES%\\git\\usr\\bin\\bash.exe -i -l",
"cursorShape": "filledBox",
"fontFace": "MesloLGL NF",
"fontSize": 12,
"guid": "{00000000-0000-0000-ba54-000000000002}",
"icon": "%PROGRAMFILES%/Git/mingw64/share/git/git-for-windows.ico",
"name": "Bash",
"padding": "8",
"startingDirectory": "%USERPROFILE%",
"snapOnInput": true
}
내 거 .bash_profile
:
# Launch Zsh
if [ -t 1 ]; then
exec zsh
fi