Skip to content

Instantly share code, notes, and snippets.

@mitliagkas
Created October 3, 2014 06:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mitliagkas/178094a20847e9b1c35a to your computer and use it in GitHub Desktop.
Save mitliagkas/178094a20847e9b1c35a to your computer and use it in GitHub Desktop.
Python startup file for tab completion
import rlcompleter, readline
readline.parse_and_bind('tab: complete')
@mitliagkas
Copy link
Author

For this to be executed by the python interpreter, set:

export PYTHONSTARTUP="[LOCATION]/pythonstartup.sh"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment