
답변1
unset PROMPT_COMMAND
echo unset PROMPT_COMMAND | sudo tee -a /etc/bash.bashrc
if [[ -f ~/.bash_profile ]]; then
echo unset PROMPT_COMMAND | tee -a ~/.bash_profile
fi
이렇게 하면 영구적으로 문제가 해결됩니다.
unset PROMPT_COMMAND
echo unset PROMPT_COMMAND | sudo tee -a /etc/bash.bashrc
if [[ -f ~/.bash_profile ]]; then
echo unset PROMPT_COMMAND | tee -a ~/.bash_profile
fi
이렇게 하면 영구적으로 문제가 해결됩니다.