April Fool: Windows-like bash prompt

April 1, 2008

Submitted by: Taoufix

Category: Computers

37,688 views

Here is a funny trick to mess up with someone’s bash prompt: change it to look like a Windows one :)
To do so, add the following line to his ~/.bashrc file:

export PS1='C:${PWD//\//\\\}>'

See it in action:

Windows Bash Prompt

If you liked this, please share it at your favorite sites:
  • Digg
  • Reddit
  • del.icio.us
  • Wikio
  • Facebook
  • Google
  • Technorati
  • TwitThis
  • MySpace
  • N4G
  • NewsVine
  • StumbleUpon
  • BlogMemes
  • Blogsvine
  • blogtercimlap
  • DotNetKicks
  • eKudos
  • Faves
  • Fleck
  • Scoopeo
  • Socialogs
  • Upnews
  • Yigg
  • E-mail this story to a friend!
  • Mixx

10 Responses :D Pretty Cool

Leave a Reply

:D :) :cry: :( 8O :twisted: :!: :vangry: :XO: :up: ;) :mrgreen: :halo: :kiss: :roll: :? 8) :evil: :oops: :| :?: :x :$: