Hi there.
I'm looking for some way to share code snippets taken directly from command prompt. For example:
plinjasa@pllzpc029 ~
$ ls
plinjasa@pllzpc029 ~
$ mkdir maindir
plinjasa@pllzpc029 ~
$ ls -l
total 0
drwxr-xr-x+ 1 plinjasa Domain Users 0 2010-08-26 15:22 maindir
plinjasa@pllzpc029 ~
$ cd maindir
plinjasa@pllzpc029 ~/maindir
$ touch somefile
plinjasa@pllzpc029 ~/maindir
$ ls -l
total 0
-rw-r--r-- 1 plinjasa Domain Users 0 2010-08-26 15:22 somefile
plinjasa@pllzpc029 ~/maindir
$
There are some solutions to show this with bash syntax highlighting (as you can see) but I don't see any way to preserve prompt coloring or anything which would help to read such snippet.
Any ideas?
[EDIT] Fixed example as it caused some confusion about having FTP coloring too. It's not important