commands Flashcards
1
Q
How do I set the zsh prompt to the current directory?
A
$ vim ~/.zshrc
PROMPT=’%n@%m %~ %# ‘
$ source ~/.zshrc
unix > commands > Flashcards
How do I set the zsh prompt to the current directory?
$ vim ~/.zshrc
PROMPT=’%n@%m %~ %# ‘
$ source ~/.zshrc