commands Flashcards

1
Q

How do I set the zsh prompt to the current directory?

A

$ vim ~/.zshrc

PROMPT=’%n@%m %~ %# ‘

$ source ~/.zshrc

How well did you know this?
1
Not at all
2
3
4
5
Perfectly