BLT

blton, bltoff commands

Bug #220880 reported by Marnanel Thurman
2
Affects Status Importance Assigned to Milestone
BLT
New
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

Revision history for this message
Jon Levell (d-launchpad-coralbark-net) wrote :

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.

Revision history for this message
Marnanel 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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.