Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Shell] autocomplete full file name with tab #86

Open
ohjeongwook opened this issue Sep 5, 2020 · 2 comments
Open

[Shell] autocomplete full file name with tab #86

ohjeongwook opened this issue Sep 5, 2020 · 2 comments

Comments

@ohjeongwook
Copy link
Owner

No description provided.

@ohjeongwook ohjeongwook changed the title Shell: Tab shows full file name Shell: autocomplete full file name with tab Sep 5, 2020
@ohjeongwook
Copy link
Owner Author

@ohjeongwook
Copy link
Owner Author

ohjeongwook commented Sep 7, 2020


    def cmdloop(self, intro=None):
        """Repeatedly issue a prompt, accept input, parse an initial prefix
        off the received input, and dispatch to action methods, passing them
        the remainder of the line as argument.

        """

        self.preloop()
        if self.use_rawinput and self.completekey:
            try:
                import readline
                self.old_completer = readline.get_completer()
                readline.set_completer(self.complete)
                readline.parse_and_bind(self.completekey+": complete")
            except ImportError:
                pass
I:\ReverseEngineering\Tools\Vulnerabilities\binkit\src\shell>c:\python27\scripts\pip  install readline
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting readline
  Using cached readline-6.2.4.1.tar.gz (2.3 MB)
    ERROR: Command errored out with exit status 1:
     command: 'c:\python27\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'c:\\users\\admini~1\\appdata\\local\\temp\\1\\pip-install-mll9vb\\readline\\setup.py'"'"'; __file__='"'"'c:\\users\\admini~1\\appdata\\local\\temp\\1\\pip-install-mll9vb\\readline\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'c:\users\admini~1\appdata\local\temp\1\pip-pip-egg-info-wzkmil'
         cwd: c:\users\admini~1\appdata\local\temp\1\pip-install-mll9vb\readline\
    Complete output (1 lines):
    error: this module is not meant to work on Windows
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

@ohjeongwook ohjeongwook changed the title Shell: autocomplete full file name with tab [Shell] autocomplete full file name with tab Oct 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant