How to customize default terminal prompt which looks like this? simply define PS1 variable with required format. To display only full path, use following: \d – date \t – time \h – hostname \# – command number \u – username \W – current directory (e.g.: Desktop) \w – current directory path (e.g.: /Users/Admin/Desktop) External links: http://stackoverflow.com/questions/14416274/how-to-suppress-or-customize-mac-terminal-shell-prompt
Add these lines to your ~/.bash_profile file.