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