---

Powerline-how-to-change-terminal-prompt

By default the shell plugin gives you plenty of helpful data:-

Login name
Login time
Current working directory or path. The path is condensed automatically when it grows longer than the terminal width.
The number of active background jobs.
The hostname, when you connect via SSH to remote system where powerline is installed. This save you a lot of twiddling with your shell environment and complex scripting!