BLT

blton, bltoff commands

Bug #220880 reported by Thomas Thurman on 2008-04-23
2
Affects Status Importance Assigned to Milestone
BLT
Undecided
Unassigned

Bug Description

Suggested by Jon Levell:

export NONBLT_PROMPT_COMMAND=$PROMPT_COMMAND

alias bltoff="export PROMPT_COMMAND=\$NONBLT_PROMPT_COMMAND";
alias blton="export PROMPT_COMMAND='$NONBLT_PROMPT_COMMAND;blt --check'";

Related branches

Attached is a patch that exports the add_to_bashrc routine so we don't get an error on first install and adds these lines.

Thomas Thurman (marnanel) wrote :

There does seem to be a small problem when .bashrcs created this way are run inside terminals launched through a hot key:

 bash: PROMPT_COMMAND: line 0: syntax error near unexpected token `;'
 bash: PROMPT_COMMAND: line 0: `;/usr/local/bin/blt --check'
 marnanel@ubuntu:~$

i.e. PROMPT_COMMAND was badly set in the first place; does bash use a default if P_C is unset? We need to look into this.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers