Monday, June 18, 2012

Changing terminal prompt @z shell

http://www.nparikh.org/unix/prompt.php


For Z Shell

PROMPT=$'[%n@%m/%c]$'

This changes the terminal prompt as
user@hostname/current_directory_name

No comments:

Post a Comment