jml / undistract-me

Notifies you when long-running terminal commands complete
Other
540 stars 48 forks source link

Syntax error when starting bash #70

Open atleta opened 3 years ago

atleta commented 3 years ago

I've tried both the version in Ubuntu 20.04 (the same as on launchpad: 0.1.0+git20130402+3a9144bc1f-1) and building the deb package from the git repo.

When I start a new shell, after adding the source /etc/profile.d/undistract-me.sh as the last line of my .bashrc, I get the following error messages:

bash: PROMPT_COMMAND: line 0: syntax error near unexpected token `;'
bash: PROMPT_COMMAND: line 0: `preexec_set_exit;history -a; history -n; ;preexec_invoke_cmd'

It probably interferes with my original prompt command setting of history -a; history -n; history -a; history -n; pwd>&10;kill -STOP $$ .