Slow at returning shell prompt on Ubuntu 14.04 LTS
Created by: dkfi
Everytime I hit the return key in a terminal (even with no command typed in), the terminal returns the prompt too slowly. The problem is even more noticeable when you keep the return key pressed... a common thing that a lot of people do to get some blank lines in order to make terminal output more readable.
I've put bash in "set -x" mode and this is what I get:
kristian@gem:$
++ autojump_add_to_database
++ [[ /home/kristian == /\h\o\m\e/\k\r\i\s\t\i\a\n ]]
+++ pwd -P
++ autojump -a /home/kristian
kristian@gem:$
Is it really necessary to add the current directory to the database everytime the return key is pressed even if there wasn't any command given?