This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 248845 - "__vte_prompt_command: command not found" on every action in terminal
Summary: "__vte_prompt_command: command not found" on every action in terminal
Status: RESOLVED WONTFIX
Alias: None
Product: cnd
Classification: Unclassified
Component: Terminalemulator (show other bugs)
Version: 8.0.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: ilia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-23 21:28 UTC by ilia
Modified: 2015-07-23 10:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ilia 2014-11-23 21:28:51 UTC
1. Open Terminal
2. type "echo 1"

Output:

ilia@ilia-idea:~$ echo 1
1
__vte_prompt_command: command not found


It seems prepending a command to PROMPT_COMMAND env variable in TerminalSupportImpl conflicts with /etc/profile.d/vte.sh which is used (it seems) to keep gnome-terminal up to date about CWD...

Will investigate this bug asap
Comment 1 ilia 2014-11-23 22:02:24 UTC
$BASH_VERSION -> 4.3.8(1)-release
$VTE_VERSION -> 3409
Comment 2 ilia 2015-05-29 03:07:03 UTC
PROMPT_COMMAND is overwritten in the script (vte.sh).

This was fixed, but then rolled back:
https://github.com/GNOME/vte/commit/1e6e46f90a035a51b37576d059d6108ece1b4eaa
https://github.com/GNOME/vte/commit/12e706ba1601896fc233ad97255a37281e70dc09
Comment 3 ilia 2015-07-23 10:14:39 UTC
__vte_prompt_command: command not found will appear if the vte.sh file was not 'source'-ed

Might be a problem of the bashrc configuration, not IDE Terminal.