in reply to Re^2: Send Bash Command
in thread Send Bash Command
However, I like the idea of using 'ls' to return to the former color. It's quicker than restarting the terminal:).#!/usr/bin/perl use strict; use warnings; use ExtUtils::MakeMaker qw(prompt); prompt("export PS1=\e[0;31m\][\\u@\\H\\W\]\$\\e]m"); system("ls");
|
|---|