1

A Terminal newbie here.

I had downloaded and installed Git, but when I typed "Git --version" I would get illegal instruction. I tried to uninstall Git and now my Terminal window in blank.

How do I get Name$ as a prompt again?

Thank you!

enter image description here

7
  • How did You remove Git? Here's link for changing command prompt: stackoverflow.com/questions/14416274/… Sep 22, 2014 at 14:44
  • Share a screenshot ? You could reset the terminal if nothing works - apple.stackexchange.com/questions/91381/…
    – Jash Jacob
    Sep 22, 2014 at 14:45
  • @JashJacob I deleted my com.apple.Terminal.plist but still no prompt in the Terminal window.Thanks for you help.
    – Elia
    Sep 22, 2014 at 15:01
  • @MateuszSzlosek I ran the uninstall Git script and now my Terminal window is blank. I used to get the prompt "Elia$". Now I literally have a blank screen. What is a string of characters I can type in the Terminal window? I am totally new to Terminal and command lines. Thank you!
    – Elia
    Sep 22, 2014 at 15:25
  • @Elia try this: echo "export PS1=\"\u\w$\"" >> ~/.bash_profile and restart Your Terminal app. Sep 22, 2014 at 15:58

0

Browse other questions tagged .