set prompt="[ string here ]" include with %x .. inside quotes to add system settings, ie path, time, etc %c : current directory %d : day %h : some number %l : tty terminal connection and port %m : machine name %n : login name %p : time (HH:MM:SSam/pm) %t : time (HH:MMam/pm) %w : month %y : year %~ : display current path from home directory %/ : display current path from root examples: set prompt="[%n@%m-%~]" : Will give you [loginId@machineName-~/currentpath]