Assign both menu-complete and dynamic-complete-history to TABBash and Tab Auto-completeHow to print...

A Warm Riley Riddle

How to creep the reader out with what seems like a normal person?

Transfer over $10k

Power LED from 3.3V Power Pin without Resistor

What is the word which sounds like "shtrass"?

Meaning of "individuandum"

How did Arya get back her dagger from Sansa?

What does air vanishing on contact sound like?

What was the state of the German rail system in 1944?

Airbnb - host wants to reduce rooms, can we get refund?

How to assert on pagereference where the endpoint of pagereference is predefined

Can fracking help reduce CO2?

How do I tell my manager that his code review comment is wrong?

Write to EXCEL from SQL DB using VBA script

Is balancing necessary on a full-wheel change?

Disabling Resource Governor in SQL Server

Why are notes ordered like they are on a piano?

Is Cola "probably the best-known" Latin word in the world? If not, which might it be?

If 1. e4 c6 is considered as a sound defense for black, why is 1. c3 so rare?

What is the most remote airport from the center of the city it supposedly serves?

If Earth is tilted, why is Polaris always above the same spot?

You look catfish vs You look like a catfish?

Topological Spaces homeomorphic

If Melisandre foresaw another character closing blue eyes, why did she follow Stannis?



Assign both menu-complete and dynamic-complete-history to TAB


Bash and Tab Auto-completeHow to print keypresses in .inputrc format?How to print keyboard shortcuts in human-readable form?How to make ZSH tab completion work with two tabshow to edit and color bash's tab completion listIs there anyway to get COMPREPLY to be output as a vertical list of words instead in a single line?Combining zsh’s tab completion with case insensitivityBind C-i and TAB keys to different commands in terminal applications via .inputrcCan I navigate zsh's tab-completion menu with vi-like hjkl keys?Ignore auto-completion on single same filename






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







5















Is there a way for me to assign both menu-complete and dynamic-complete-history to Tab (or one to Tab and the other to Tab-Tab) in .inputrc?



I'm thinking there might be a way to setup a function and use COMPREPLY, but I can't figure out how.



What I would like to do is use 'dynamic-complete-history' for the first tab press, and if tab is pressed again use 'menu-complete'.










share|improve this question































    5















    Is there a way for me to assign both menu-complete and dynamic-complete-history to Tab (or one to Tab and the other to Tab-Tab) in .inputrc?



    I'm thinking there might be a way to setup a function and use COMPREPLY, but I can't figure out how.



    What I would like to do is use 'dynamic-complete-history' for the first tab press, and if tab is pressed again use 'menu-complete'.










    share|improve this question



























      5












      5








      5


      1






      Is there a way for me to assign both menu-complete and dynamic-complete-history to Tab (or one to Tab and the other to Tab-Tab) in .inputrc?



      I'm thinking there might be a way to setup a function and use COMPREPLY, but I can't figure out how.



      What I would like to do is use 'dynamic-complete-history' for the first tab press, and if tab is pressed again use 'menu-complete'.










      share|improve this question
















      Is there a way for me to assign both menu-complete and dynamic-complete-history to Tab (or one to Tab and the other to Tab-Tab) in .inputrc?



      I'm thinking there might be a way to setup a function and use COMPREPLY, but I can't figure out how.



      What I would like to do is use 'dynamic-complete-history' for the first tab press, and if tab is pressed again use 'menu-complete'.







      bash autocomplete readline inputrc






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 6 '14 at 22:41









      Gilles

      550k13111211636




      550k13111211636










      asked Nov 5 '14 at 2:20









      victorbrcavictorbrca

      443




      443






















          1 Answer
          1






          active

          oldest

          votes


















          0















          Is there a way




          No.



          Sounds like motivation for putting together
          a feature patch
          and a bash pull-request.






          share|improve this answer
























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "106"
            };
            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: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            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%2funix.stackexchange.com%2fquestions%2f166020%2fassign-both-menu-complete-and-dynamic-complete-history-to-tab%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









            0















            Is there a way




            No.



            Sounds like motivation for putting together
            a feature patch
            and a bash pull-request.






            share|improve this answer




























              0















              Is there a way




              No.



              Sounds like motivation for putting together
              a feature patch
              and a bash pull-request.






              share|improve this answer


























                0












                0








                0








                Is there a way




                No.



                Sounds like motivation for putting together
                a feature patch
                and a bash pull-request.






                share|improve this answer














                Is there a way




                No.



                Sounds like motivation for putting together
                a feature patch
                and a bash pull-request.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 1 hour ago









                J_HJ_H

                26113




                26113






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • 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%2funix.stackexchange.com%2fquestions%2f166020%2fassign-both-menu-complete-and-dynamic-complete-history-to-tab%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

                    Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

                    Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

                    Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...