How to show file directory in osx terminal

By | February 24, 2023

Just add:

PROMPT='%~$ '

to your .zshrc file and you should have the entire directory path displayed in terminal.

%~ means show the path relative to HOME.

Category: OSX

Leave a Reply

Your email address will not be published. Required fields are marked *