Home > Uncategorized > Abbreviated Powershell prompt

Abbreviated Powershell prompt

When working with deep folder structures the prompt starts to eat more and more space on the screen – leaving less and less space for your input and commands. I find this annoying. Not terribly, but a bit. Luckily the prompt, like most things in Powershell, can be customized. And it is simple too. Just define a new function called Prompt and it will override the build-in.

This is my abbreviated prompt in action:


Here is the code:


Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: