John W. Krahn wrote:
> export PROMPT_COMMAND="perl 
> -e'(\$_=qx[pwd])=~s!/.*?(/[^/]+/[^/]+)\$!...\$1!;chomp;print'"

Change "print" to "print+qq(\e[0;\$_\a)" to fulfil the requirements "put the
string into the xterm title".

Cheers,
Philip
-- 
Philip Newton <[EMAIL PROTECTED]>
All opinions are my own, not my employer's.
If you're not part of the solution, you're part of the precipitate.
    • ... Craig S. Cottingham
      • ... Robert G. Werner
    • ... Paul Johnson
    • ... Abigail
      • ... Robert G. Werner
        • ... Dmitry Kohmanyuk Дмитрий Кохманюк
  • ... Newton, Philip
  • ... Newton, Philip
    • ... Simon Cozens
  • ... Newton, Philip
  • ... Andrew . Savige
  • ... Newton, Philip
    • ... Bart Lateur
  • ... Andrew . Savige
  • ... Pense, Joachim
  • ... Andrew . Savige
  • ... Andrew . Savige
  • ... Andrew . Savige

Reply via email to