Slow bash tab completion












3















My bash shell's tab completion is very slow, usually taking 1-2 seconds per completion. This only seems to happen when I'm using my laptop from work. Tab completion is very speedy when using my laptop from home. I've tried looking around in ~/.bashrc and /etc/bash_completion.d, but I have not found a solution as of yet.










share|improve this question

























  • Is it just a normally slow laptop? Are there lots of files in the folders you are auto completing?

    – Tim
    Aug 26 '14 at 18:15






  • 1





    Tim, thank you for your response. It is not normally a slow laptop. In fact, it has a 2.7GHz processor so I imagine hardware shouldn't be the issue. Also, there are usually very few files in the folders that I'm auto-completing (I'd say about a dozen or less on average).

    – Caleb Koch
    Aug 28 '14 at 11:27











  • Is Alt + / snappy while Tab is slow?

    – that other guy
    Nov 8 '14 at 23:11













  • The problem randomly disappeared, otherwise I'd let you know. Thanks :)

    – Caleb Koch
    Nov 10 '14 at 14:00











  • @thatotherguy: I'm having this very problem and Alt+/ is indeed snappy while Tab is slow. Where were you going with this?

    – nmichaels
    Nov 13 '15 at 17:25
















3















My bash shell's tab completion is very slow, usually taking 1-2 seconds per completion. This only seems to happen when I'm using my laptop from work. Tab completion is very speedy when using my laptop from home. I've tried looking around in ~/.bashrc and /etc/bash_completion.d, but I have not found a solution as of yet.










share|improve this question

























  • Is it just a normally slow laptop? Are there lots of files in the folders you are auto completing?

    – Tim
    Aug 26 '14 at 18:15






  • 1





    Tim, thank you for your response. It is not normally a slow laptop. In fact, it has a 2.7GHz processor so I imagine hardware shouldn't be the issue. Also, there are usually very few files in the folders that I'm auto-completing (I'd say about a dozen or less on average).

    – Caleb Koch
    Aug 28 '14 at 11:27











  • Is Alt + / snappy while Tab is slow?

    – that other guy
    Nov 8 '14 at 23:11













  • The problem randomly disappeared, otherwise I'd let you know. Thanks :)

    – Caleb Koch
    Nov 10 '14 at 14:00











  • @thatotherguy: I'm having this very problem and Alt+/ is indeed snappy while Tab is slow. Where were you going with this?

    – nmichaels
    Nov 13 '15 at 17:25














3












3








3


0






My bash shell's tab completion is very slow, usually taking 1-2 seconds per completion. This only seems to happen when I'm using my laptop from work. Tab completion is very speedy when using my laptop from home. I've tried looking around in ~/.bashrc and /etc/bash_completion.d, but I have not found a solution as of yet.










share|improve this question
















My bash shell's tab completion is very slow, usually taking 1-2 seconds per completion. This only seems to happen when I'm using my laptop from work. Tab completion is very speedy when using my laptop from home. I've tried looking around in ~/.bashrc and /etc/bash_completion.d, but I have not found a solution as of yet.







bash auto-completion






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 31 '18 at 2:27









Pablo Bianchi

2,4451530




2,4451530










asked Aug 26 '14 at 17:57









Caleb KochCaleb Koch

1612




1612













  • Is it just a normally slow laptop? Are there lots of files in the folders you are auto completing?

    – Tim
    Aug 26 '14 at 18:15






  • 1





    Tim, thank you for your response. It is not normally a slow laptop. In fact, it has a 2.7GHz processor so I imagine hardware shouldn't be the issue. Also, there are usually very few files in the folders that I'm auto-completing (I'd say about a dozen or less on average).

    – Caleb Koch
    Aug 28 '14 at 11:27











  • Is Alt + / snappy while Tab is slow?

    – that other guy
    Nov 8 '14 at 23:11













  • The problem randomly disappeared, otherwise I'd let you know. Thanks :)

    – Caleb Koch
    Nov 10 '14 at 14:00











  • @thatotherguy: I'm having this very problem and Alt+/ is indeed snappy while Tab is slow. Where were you going with this?

    – nmichaels
    Nov 13 '15 at 17:25



















  • Is it just a normally slow laptop? Are there lots of files in the folders you are auto completing?

    – Tim
    Aug 26 '14 at 18:15






  • 1





    Tim, thank you for your response. It is not normally a slow laptop. In fact, it has a 2.7GHz processor so I imagine hardware shouldn't be the issue. Also, there are usually very few files in the folders that I'm auto-completing (I'd say about a dozen or less on average).

    – Caleb Koch
    Aug 28 '14 at 11:27











  • Is Alt + / snappy while Tab is slow?

    – that other guy
    Nov 8 '14 at 23:11













  • The problem randomly disappeared, otherwise I'd let you know. Thanks :)

    – Caleb Koch
    Nov 10 '14 at 14:00











  • @thatotherguy: I'm having this very problem and Alt+/ is indeed snappy while Tab is slow. Where were you going with this?

    – nmichaels
    Nov 13 '15 at 17:25

















Is it just a normally slow laptop? Are there lots of files in the folders you are auto completing?

– Tim
Aug 26 '14 at 18:15





Is it just a normally slow laptop? Are there lots of files in the folders you are auto completing?

– Tim
Aug 26 '14 at 18:15




1




1





Tim, thank you for your response. It is not normally a slow laptop. In fact, it has a 2.7GHz processor so I imagine hardware shouldn't be the issue. Also, there are usually very few files in the folders that I'm auto-completing (I'd say about a dozen or less on average).

– Caleb Koch
Aug 28 '14 at 11:27





Tim, thank you for your response. It is not normally a slow laptop. In fact, it has a 2.7GHz processor so I imagine hardware shouldn't be the issue. Also, there are usually very few files in the folders that I'm auto-completing (I'd say about a dozen or less on average).

– Caleb Koch
Aug 28 '14 at 11:27













Is Alt + / snappy while Tab is slow?

– that other guy
Nov 8 '14 at 23:11







Is Alt + / snappy while Tab is slow?

– that other guy
Nov 8 '14 at 23:11















The problem randomly disappeared, otherwise I'd let you know. Thanks :)

– Caleb Koch
Nov 10 '14 at 14:00





The problem randomly disappeared, otherwise I'd let you know. Thanks :)

– Caleb Koch
Nov 10 '14 at 14:00













@thatotherguy: I'm having this very problem and Alt+/ is indeed snappy while Tab is slow. Where were you going with this?

– nmichaels
Nov 13 '15 at 17:25





@thatotherguy: I'm having this very problem and Alt+/ is indeed snappy while Tab is slow. Where were you going with this?

– nmichaels
Nov 13 '15 at 17:25










1 Answer
1






active

oldest

votes


















2














I had this problem on a Debian system recently, and found the solution on Unix.se.



It was this bug, fixed by this patch.






share|improve this answer

























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f516377%2fslow-bash-tab-completion%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    I had this problem on a Debian system recently, and found the solution on Unix.se.



    It was this bug, fixed by this patch.






    share|improve this answer






























      2














      I had this problem on a Debian system recently, and found the solution on Unix.se.



      It was this bug, fixed by this patch.






      share|improve this answer




























        2












        2








        2







        I had this problem on a Debian system recently, and found the solution on Unix.se.



        It was this bug, fixed by this patch.






        share|improve this answer















        I had this problem on a Debian system recently, and found the solution on Unix.se.



        It was this bug, fixed by this patch.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Apr 13 '17 at 12:37









        Community

        1




        1










        answered Nov 13 '15 at 17:37









        nmichaelsnmichaels

        1888




        1888






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f516377%2fslow-bash-tab-completion%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

            Mangá

             ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕