PDA

View Full Version : Playing in the terminal



teresaejunior
February 3rd, 2010, 12:17 AM
:popcorn:

Don't worry, this is safe!
Paste this in your terminal and press enter:


clear;PS1='\[\033]0;Just for fun!!!\007\033[1;33m\]I changed your terminal title, what to do now?\[\033[0m\] '

Tibuda
February 3rd, 2010, 12:36 AM
I thought this was about nethack or other terminal game.


What to do now?

PS1='\t \w$(__git_ps1)\$ '

teresaejunior
February 3rd, 2010, 12:40 AM
How can I make this the default without the error bash: __git_ps1: command not found

juancarlospaco
February 3rd, 2010, 12:41 AM
sudo apt-get install cmatrix ; cmatrix

teresaejunior
February 3rd, 2010, 12:48 AM
sudo apt-get install cmatrix ; cmatrix

Cool!

Hey, if I write a sh script using #!/bin/sh, and if use colors in echo, will it be portable?