0

Mac OSX Maverick: Using iTerm2

nano .zsh

Inserted export PS1=" % "

Control + o

File Name to Write: .zsh

Control + x

Restarted iTerm. And it still goes back to what I had before. What is the issue here?

Beast_Code
  • 3,097
  • 12
  • 43
  • 54

1 Answers1

2

AFAIK, .zsh is not a file used by any shell, not even zsh. You probably want .zshrc if you're using zsh. If you're using Mac's default of bash, you want .bashrc instead.

Jonathan Leffler
  • 730,956
  • 141
  • 904
  • 1,278
Amadan
  • 191,408
  • 23
  • 240
  • 301