[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A suggestion for the future version of Bash
From: |
Paul Jarc |
Subject: |
Re: A suggestion for the future version of Bash |
Date: |
29 Dec 2000 15:56:27 -0500 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 |
Victor Porton <porton@perm.raid.ru> writes:
> It would be good to have possibility to print something before each
> interactive command line execution. This can be done by adding the new shell
> variable BEFORECOMMAND with commands which should be executed before every
> user-entered command line.
If I understand you, this functionality is already available in the
PROMPT_COMMAND variable and command substitution in PS1.
paul